手机
当前位置:查字典教程网 >网页设计 > Div+Css教程 >给超级链接增加其他样式
给超级链接增加其他样式
摘要:给超级链接增加其他样式a.one:link{color:#ff0000}a.one:visited{color:#0000ff}a.one:...

给超级链接增加其他样式

a.one:link {color: #ff0000} a.one:visited {color: #0000ff} a.one:hover {color: #ffcc00} a.two:link {color: #ff0000} a.two:visited {color: #0000ff} a.two:hover {font-size: 150%} a.three:link {color: #ff0000} a.three:visited {color: #0000ff} a.three:hover {background: #66ff66} a.four:link {color: #ff0000} a.four:visited {color: #0000ff} a.four:hover {font-family: monospace} a.five:link {color: #ff0000; text-decoration: none} a.five:visited {color: #0000ff; text-decoration: none} a.five:hover {text-decoration: underline}

Mouse over the links to see them change layout.

This link changes color

This link changes font-size

This link changes background-color

This link changes font-family

This link changes text-decoration

[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

让文字的第一行特殊化

p:first-line { color: #ff0000; font-variant: small-caps }

You can use the :first-line pseudo-element to add a special effect to the first line of a text!

[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

【给超级链接增加其他样式】相关文章:

网站制作如何用CSS控制超链接样式

网页制作CSS样式九条技巧

CSS自定义滚动条样式

如何在一个页面做两种超链接的CSS样式

用CSS让DIV层水平居中

用CSS自定义滚动条的样式

CSS给文本输入框添加背景图像

网页添加CSS样式表的四种方式

css3实现input输入框颜色渐变发光效果代码

div中内容上下居中小结教程

精品推荐
分类导航