当前位置:网站首页>鼠标悬停效果八
鼠标悬停效果八
2022-07-01 02:31:00 【紫微前端】
<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)
边栏推荐
- SAP ALV汇总跟导出Excel 汇总数据不一致
- Machine learning 10 belief Bayesian classifier
- [JS] [Nuggets] get people who are not followers
- Go import self built package
- Zero foundation self-study SQL course | window function
- Proxy support and SNI routing of pulsar
- 视觉特效,图片转成漫画功能
- Pychart software deployment gray unable to point
- 如何在智汀中实现智能锁与灯、智能窗帘电机场景联动?
- Template: globally balanced binary tree
猜你喜欢
项目管理是什么?
Xception学习笔记
我的PMP学习考试心得
Qu'est - ce que le PMP?
Comment réaliser la liaison entre la serrure intelligente et la lampe, la scène du moteur de rideau intelligent dans le timing intelligent?
PMP是什麼?
Detailed data governance knowledge system
(translation) reasons why real-time inline verification is easier for users to make mistakes
Nacos configuration center tutorial
What is PMP?
随机推荐
PMP是什麼?
Go import self built package
开源基础软件公司,寻找一起创造未来的你(API7.ai)
How do the top ten securities firms open accounts? Also, is it safe to open an account online?
Static domain and static method
Map array function
Codeforces Round #416 (Div. 2) C. Vladik and Memorable Trip
手机上怎么开户?还有,在线开户安全么?
Delete duplicate email
现在开户有优惠吗?另外,手机开户安全么?
Pulsar geo replication/ disaster recovery / regional replication
halcon变量窗口的图像变量不显示,重启软件和电脑都没用
PMP是什么?
SWT/ANR问题--ANR/JE引发SWT
MnasNet学习笔记
Pulsar Geo Replication/灾备/地域复制
Machine learning 10 belief Bayesian classifier
Ernie-gram, 显式、完备的 n-gram 掩码语言模型,实现了显式的 n-gram 语义单元知识建模。
Pytorch —— 基礎指北_貳 高中生都能看懂的[反向傳播和梯度下降]
Some uses of Halcon array