当前位置:网站首页>Mouse over effect 8
Mouse over effect 8
2022-07-01 02:38:00 【Ziwei front end】

<div class="d-1">1. Hover me </div>
<div class="d-2">2. Hover me </div>
<div class="d-3">3. Hover me </div>
<div class="d-4">4. Hover me </div>
<style>
.d-1 {
--d:14px;
padding: 8px 8px 8px calc(8px + var(--d));
background: linear-gradient(rgba(255,255,255,0.4) 0 0) left/var(--d) 100% no-repeat;
clip-path: polygon(var(--d) 3px,var(--d) 0,100% 0,100% 100%,var(--d) 100%,var(--d) calc(100% - 3px));
transform: perspective(1000px) rotateY(0deg);
transition: 0.4s,color 0.4s 0.4s,background-color 0.4s 0.4s;
}
.d-1:hover {
background-color: #000;
color: #fff;
clip-path: polygon(0px 3px,var(--d) 0,100% 0,100% 100%,var(--d) 100%,0 calc(100% - 3px));
transform: perspective(1000px) rotateY(40deg)边栏推荐
- Pychar open remote directory remote host
- js中的图片预加载
- Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]
- 鼠标悬停效果十
- 手机edge浏览器无法打开三方应用
- 最新微信ipad协议 CODE获取 公众号授权等
- RestCloud ETL实践之无标识位实现增量数据同步
- SWT / anr problem - binder stuck
- C # generates PPK files in putty format (supports passphrase)
- Nacos configuration center tutorial
猜你喜欢

halcon变量窗口的图像变量不显示,重启软件和电脑都没用

Image preloading in JS

Dell服务器重启iDRAC方法

What is PMP?

How to realize the scene linkage of intelligent lock, lamp and intelligent curtain motor in zhiting?

Find the length of the common part of two line segments

Pulsar的Proxy支持和SNI路由

Densenet network paper learning notes

SWT / anr problem - binder stuck

记一次服务部署失败问题排查
随机推荐
go: finding module for package
How do I open an account on my mobile phone? Also, is it safe to open an account online?
Detailed data governance knowledge system
[multi source BFS] 934 Shortest Bridge
Densenet network paper learning notes
在国内如何买港股的股?用什么平台安全一些?
鼠标悬停效果三
Map array function
Codeforces Round #416 (Div. 2) C. Vladik and Memorable Trip
AI edge computing platform - beaglebone AI 64 introduction
@The difference between configurationproperties and @value
开源基础软件公司,寻找一起创造未来的你(API7.ai)
Leetcode interview question 17.10 Main elements
robots.txt限制搜索引擎收录
What is project management?
Pulsar Geo Replication/灾备/地域复制
Analysis and solution of anr problems
Pulsar geo replication/ disaster recovery / regional replication
[graduation season · advanced technology Er] - summary from graduation to work
Applet custom top navigation bar, uni app wechat applet custom top navigation bar