时,我想做点什么,我有一个线,通过文字,当我将鼠标悬停在文本的行缩进。线路通过动画徘徊
这是我到目前为止有:
#about {
text-decoration: line-through;
text-align: right;
padding-right: 80px;
float: right;
color: black;
}
#about:hover {
text-decoration: none;
}
<div id="about"><a href="about.html" target="_new">ABOUT</a>
</div>
我怎样才能做到这一点? CSS或Javascript?
这应该是可能的CSS,虽然你将需要向我们展示你迄今为止尝试什么。 –
你好,请给出一些流行的例子,你想要什么..?所以我们可以帮助你..! –
http://www.thmsbfft.fr/#/works类似这样的东西。当您将鼠标悬停在“配置文件”链接上时,该行将缓慢缩回。 – sam