css下划线样式
<title>下劃線樣式</title>
<style type="text/css">
<!--
body {
?line-height: 24px;
}
a:link,a:visited {
?color: #333;
?text-decoration: none;
}
a:hover {
?color: #990;
?border-bottom: 1px dashed #990;
}
.xwgcbt {font-size: 16px;font-weight:bold;}
a.xwgcbt:link,a.xwgcbt:visited {
?color: #92c;
?border-bottom: 1px dashed #963;
}
a.xwgcbt:hover {
?border-bottom: 2px solid #f50;
}
-->
</style>
<a href="#">我在一個CSS樣式表中</a><br />
<a class="xwgcbt" href="#">(引用外部文件)設定了凡是引用這個</a><br />
<a href="#">CSS的都沒有下劃線,但是我又這個當前文檔中</a><br />
<a href="#">又建了一個CSS樣式,用類的</a>
<style type="text/css">
<!--
body {
?line-height: 24px;
}
a:link,a:visited {
?color: #333;
?text-decoration: none;
}
a:hover {
?color: #990;
?border-bottom: 1px dashed #990;
}
.xwgcbt {font-size: 16px;font-weight:bold;}
a.xwgcbt:link,a.xwgcbt:visited {
?color: #92c;
?border-bottom: 1px dashed #963;
}
a.xwgcbt:hover {
?border-bottom: 2px solid #f50;
}
-->
</style>
<a href="#">我在一個CSS樣式表中</a><br />
<a class="xwgcbt" href="#">(引用外部文件)設定了凡是引用這個</a><br />
<a href="#">CSS的都沒有下劃線,但是我又這個當前文檔中</a><br />
<a href="#">又建了一個CSS樣式,用類的</a>
總結
- 上一篇: python--查看函数帮助文档及快捷键
- 下一篇: ion-scroll zooming=t