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

<h3 class="hover">Hover Me</h3>
<style>
body {
height: 100vh;
margin: 0;
display: grid;
place-content: center;
align-items: center;
}
h3 {
font-family: system-ui, sans-serif;
font-size: 4rem;
margin:0;
cursor: pointer;
padding: 0 .1em;
}
.hover {
border: 8px solid;
border-image: repeating-linear-gradient(135deg,#F8CA00 0 10px,#E97F02 0 20px,#BD1550 0 30px) 8;
-webkit-mask:
conic-gradient(from 180deg at top 8px right 8px, #0000 90deg,#000 0)
var(--_i,200%) 0 /200% var(--_i,8px) border-box no-repeat,
conic-gradient(at bottom 8px left 8px, #0000 90deg,#000 0)
0 var(--_i,200%)/var(--_i,8px) 200% border-box no-repeat,
linear-gradient(#000 0 0) padding-box no-repeat;
transition: .3s, -webkit-mask-position .3s .3s;
}
.hover:hover {
--_i: 100%;
color: #CC333F;
transition: .3s, -webkit-mask-size .3s .3s;
}
</style>边栏推荐
- VirtualBox installation enhancements
- Pychar open remote directory remote host
- 7_ Openresty installation
- C language a little bit (may increase in the future)
- 零基础自学SQL课程 | 窗口函数
- RestCloud ETL实践之无标识位实现增量数据同步
- Qu'est - ce que le PMP?
- Optimal Transport系列1
- [PR # 5 A] two way running (state pressure DP)
- 记一次服务部署失败问题排查
猜你喜欢

Machine learning 9-universal approximator radial basis function neural network, examining PDA and SVM from a new perspective

Detailed data governance knowledge system

Pulsar的Proxy支持和SNI路由

The operation efficiency of the park is improved, and the application platform management of applet container technology is accelerated

Nacos configuration center tutorial

Pycharm 打开远程目录 Remote Host

小程序自定义顶部导航栏,uni-app微信小程序自定义顶部导航栏

详解数据治理知识体系

Record a service deployment failure troubleshooting

如何在智汀中实现智能锁与灯、智能窗帘电机场景联动?
随机推荐
Viewing JVM parameters
Thread Detach
【微信小程序开发】样式汇总
查看 jvm 参数
Ipmitool download address and possible problems during compilation and installation
项目管理是什么?
SWT / anr issues - ams/wms
[PR # 5 A] two way running (state pressure DP)
go: finding module for package
VirtualBox installation enhancements
Alphabet-Rearrange-Inator 3000(字典树自定义排序)
Comment réaliser la liaison entre la serrure intelligente et la lampe, la scène du moteur de rideau intelligent dans le timing intelligent?
如何在智汀中實現智能鎖與燈、智能窗簾電機場景聯動?
[punch in questions] integrated daily 5 questions sharing (phase I)
旷世轻量化网络ShuffulNetV2学习笔记
How to realize the scene linkage of intelligent lock, lamp and intelligent curtain motor in zhiting?
Proxy support and SNI routing of pulsar
CentOS installs multiple versions of PHP and switches
Map array function
Densenet network paper learning notes