当前位置:网站首页>More interesting Title Dynamic Effect
More interesting Title Dynamic Effect
2022-07-29 01:46:00 【In the misty rain of the Pavilion】
Preface
When browsing the blog, I see a more interesting dynamic effect , When the mouse hovers over the title , Smooth separation , Move it away smoothly , So I realized , pure html+css
Code
html part
<span class="dev-test">
<b class="dev-test dev-front">
<i>1</i>
</b>
<span class="dev-test dev-test-line">|</span>
<b class="dev-test dev-after">
<i>0</i>
</b>
<span class="dev-test dev-test-title">
title
</span>
</span>
css part
.dev-test {
font-family: "arial black";
font-size: large;
margin-left: 20px;
transition: all .6s cubic-bezier(.555,-.375,0,1.615);
}
.dev-test .dev-test-line {
transform: rotateZ(22deg);
position: absolute;
margin-left: 10px;
margin-top: -1px;
z-index: 100;
}
.dev-test .dev-front {
position: absolute;
margin-left: 0px;
z-index: 0;
transition: all .6s cubic-bezier(.555,-.375,0,1.615);
}
.dev-test .dev-after {
position: absolute;
margin-left: 10px;
z-index: 0;
transition: all .6s cubic-bezier(.555,-.375,0,1.615);
}
.dev-test .dev-test-title {
margin-left: 30px;
transition: all .6s cubic-bezier(.555,-.375,0,1.615);
}
.dev-test:hover .dev-front {
margin-left: -10px;
}
.dev-test:hover .dev-after {
margin-left: 20px;
}
.dev-test:hover .dev-test-title {
margin-left: 40px;
}
I like this effect very much , Make a note of
边栏推荐
- Behind the second round of okaleido tiger sales is the strategic support of ecological institutions
- 活动速递| Apache Doris 性能优化实战系列直播课程初公开,诚邀您来参加!
- We summarized the three recommendations for the use of Nacos and first published the Nacos 3.0 plan for the 4th anniversary of the open source of Nacos
- 科研环境对人的影响是很大的
- Test / development programmers rely on technology to survive the midlife crisis? Improve your own value
- 覆盖接入2w+交通监测设备,EMQ为深圳市打造交通全要素数字化新引擎
- 【GoLang】同步锁 Mutex
- els 到底停止
- 规划数学期末考试模拟二
- Formal parameters, arguments, main function parameters, arrays or pointers as function parameters of the knowledge in every corner of C language
猜你喜欢

Ruiji takeout project actual battle day01

Cloud native application comprehensive exercise

SiC Power Semiconductor Industry Summit Forum successfully held

【HCIP】两个MGRE网络通过OSPF实现互联(eNSP)

How to choose professional, safe and high-performance remote control software

TypeError: can only concatenate str (not “int“) to str

Six simple techniques to improve the value of penetration testing and save tens of thousands of yuan

SiC功率半导体产业高峰论坛成功举办

DSP震动座椅

Tomorrow infinite plan, 2022 conceptual planning scheme for a company's yuanuniverse product launch
随机推荐
Where will Jinan win in hosting the first computing power conference?
【HCIP】重发布及路由策略的实验
HCIA配置实例(eNSP)
Six simple techniques to improve the value of penetration testing and save tens of thousands of yuan
Timer of BOM series
10 major network security incidents in the past 10 years
How to protect WordPress website from network attack? It is essential to take safety measures
如何选择专业、安全、高性能的远程控制软件
ELMO,BERT和GPT简介
关于df[‘某一列名’][序号]
把逻辑做在Sigma-DSP中的优化实例-数据分配器
body中基本标签
【GoLang】同步锁 Mutex
How many of the top ten test tools in 2022 do you master
Event express | Apache Doris Performance Optimization Practice Series live broadcast course is open at the beginning. You are cordially invited to participate!
Redis installation, cluster deployment and common tuning
After understanding the composition of the URL of the website, we use the URL module, querystring module and mime module to improve the static website
A ten thousand word blog post takes you into the pit. Reptiles are a dead end [ten thousand word pictures]
Introduction to Elmo, Bert and GPT
【HCIP】MGRE环境下OSPF实验,含多进程双向重发布及OSPF特殊区域