当前位置:网站首页>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)边栏推荐
- ssh配置免密登录时报错:/usr/bin/ssh-copy-id: ERROR: No identities found 解决方法
- 7_ Openresty installation
- Pulsar geo replication/ disaster recovery / regional replication
- Optimal Transport系列1
- [PR # 5 A] two way running (state pressure DP)
- halcon数组的一些使用
- Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]
- Youmeng (a good helper for real-time monitoring of software exceptions: crash) access tutorial (the easiest tutorial for Xiaobai with some foundation)
- Codeforces Round #416 (Div. 2) C. Vladik and Memorable Trip
- RestCloud ETL WebService数据同步到本地
猜你喜欢
随机推荐
SWT / anr problem - binder stuck
Gartner research: in China, the adoption of hybrid cloud has become the mainstream trend
项目管理是什么?
Applet custom top navigation bar, uni app wechat applet custom top navigation bar
Viewing JVM parameters
旷世轻量化网络ShuffulNetV2学习笔记
十大券商有哪些?另外想问,现在在线开户安全么?
C # generates PPK files in putty format (supports passphrase)
Image preloading in JS
VirtualBox installation enhancements
C language a little bit (may increase in the future)
ANR问题的分析与解决思路
Gartner研究:在中国,混合云的采用已成为主流趋势
Find the length of the common part of two line segments
A preliminary understanding of operator overloading
Visual effects, picture to cartoon function
The image variables in the Halcon variable window are not displayed, and it is useless to restart the software and the computer
Comment réaliser la liaison entre la serrure intelligente et la lampe, la scène du moteur de rideau intelligent dans le timing intelligent?
Qu'est - ce que le PMP?
SAP ALV summary is inconsistent with exported excel summary data









