首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

用CSS3设立mailto:像网页中使用css一样

2012-09-19 
用CSS3设置mailto:像网页中使用css一样下例显示了你可以怎样设计mailto:超链接的网页使用CSS属性选择器。??

用CSS3设置mailto:像网页中使用css一样

下例显示了你可以怎样设计mailto:超链接的网页使用CSS属性选择器。

?

?

<!DOCTYPE html><html><head>    <style type="text/css">        a[href^='mailto:'] {            color: green;        }        a[href^='mailto:']:before {            color: red;            content: "Email: ";            font-style: italic;        }    </style></head><body>     <a href="http://cfexamples.com/">Go to ColdFusionExamples.com</a><br/>    <a href="mailto:jane@doe.com">Jane Doe</a><br/>    <a href="mailto:john.smith@domain.org">John Smith</a><br/> </body></html>

?

? 源代码:

?

??stylemailto.zip

?

热点排行