CSS不同的链接造型 [英] CSS differing link styling
本文介绍了CSS不同的链接造型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据我知道的使用类似的东西:
From what I know using something like:
.class a {}
与使用相同:
.class a:link {}
对吗?
另外.....以下两种样式是否相同?
Additionally..... are the following two styles the same?
.class a:focus {}
.class a:hover {}
最后.....下面的样式是颜色
Lastly..... the following styling is the color it is when the mouse is down right?
.class a:active {}
推荐答案
-
每个锚点元素。
-
a:link
才是从未访问过超链接。 -
a:focus hover
是您的鼠标悬停在链接上时。 -
a:active
a
is every anchor element.a:link
is only when the hyperlink has never been visited.a:focus
is when you're tabbing through the page with a keyboard.a:hover
is when your mouse is over the link.a:active
is when you mousedown the link.a:visited
is when you've already visited that link.
<
这篇关于CSS不同的链接造型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文