当前位置:网站首页>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)边栏推荐
- Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and
- Pulsar的Proxy支持和SNI路由
- Record a service deployment failure troubleshooting
- C language a little bit (may increase in the future)
- How to use Jieba participle in unity
- My PMP learning test experience
- 单片机 MCU 固件打包脚本软件
- Visual effects, picture to cartoon function
- [graduation season · advanced technology Er] - summary from graduation to work
- What is the difference between port number and process number?
猜你喜欢
随机推荐
7_ Openresty installation
Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and
SWT / anr problem - anr/je causes SWT
Densenet network paper learning notes
centos 安装多个版本的php并切换
LabVIEW calculates the camera image sensor resolution and lens focal length
robots. Txt restrict search engine inclusion
Mnasnet learning notes
我想知道股票开户怎么开户?究竟网上开户是否安全么?
【微信小程序開發】樣式匯總
鼠标悬停效果三
RestCloud ETL实践之无标识位实现增量数据同步
What is PMP?
手机上怎么开户?还有,在线开户安全么?
[JS] [Nuggets] get people who are not followers
Focusing on green and low carbon, data center cooling has entered a new era of "intelligent cooling"
最新微信ipad协议 CODE获取 公众号授权等
CentOS installs multiple versions of PHP and switches
基于OPENCV和图像减法的PCB缺陷检测
【PR #5 A】双向奔赴(状压DP)









