当前位置:网站首页>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)边栏推荐
- [wechat applet development] style summary
- Optimal Transport系列1
- js中的图片预加载
- Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]
- Viewing JVM parameters
- SWT / anr problem - SWT caused by long execution time of native method
- What are the top ten securities companies? In addition, is it safe to open an account online now?
- Xception学习笔记
- Thread Detach
- 最新微信ipad协议 CODE获取 公众号授权等
猜你喜欢

MnasNet学习笔记

RestCloud ETL WebService数据同步到本地

The operation efficiency of the park is improved, and the application platform management of applet container technology is accelerated
![Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]](/img/6e/279dbb7a8d7a5ecd240de464c5b8b2.png)
Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]

nacos配置中心使用教程

Pulsar Geo Replication/灾备/地域复制

What is PMP?

A preliminary understanding of operator overloading

Leetcode interview question 17.10 Main elements

kubernetes资源对象介绍及常用命令(二)
随机推荐
我的PMP学习考试心得
联想X86服务器重启管理控制器(XClarity Controller)或TSM的方法
ANR问题的分析与解决思路
@The difference between configurationproperties and @value
Mnasnet learning notes
园区运营效率提升,小程序容器技术加速应用平台化管理
A preliminary understanding of operator overloading
【PR #5 A】双向奔赴(状压DP)
Find the length of the common part of two line segments
Image preloading in JS
halcon变量窗口的图像变量不显示,重启软件和电脑都没用
js中的原型和原型链
详解数据治理知识体系
视觉特效,图片转成漫画功能
How to realize the scene linkage of intelligent lock, lamp and intelligent curtain motor in zhiting?
AI edge computing platform - beaglebone AI 64 introduction
Pulsar theme compression
JS anti shake and throttling
7_ Openresty installation
Clickhouse eliminates the gap caused by group by