html css配色方案,链接css不同的配色方案问题
為什么導航鏈接采用正常鏈接的風格?
這是一個基本的導航菜單:
Home |
Autobelettering |
Reclame |
Prints |
Textiel |
Ontwerpen |
Aanleveren |
Contact
這是CSS
/* Normal links */
a {
font-size: 12px;
color: #DC342F;
}
a:link {
text-decoration: none;
color: #DC342F;
}
a:visited {
text-decoration: none;
color: #DC342F;
}
a:hover {
text-decoration: underline;
color: #DC342F;
}
a:active {
text-decoration: none;
color: #DC342F;
}
/* navigation links */
a.nav {
text-decoration: none;
color: #FFFFFF;
font-weight: bold;
font-size: 14px;
}
a.nav:visited {
text-decoration: none;
color: #FFFFFF;
font-weight: bold;
font-size: 14px;
}
a.nav:hover {
text-decoration: none;
color: #DFFFFFF;
font-weight: bold;
font-size: 14px;
}
a.nav:active {
text-decoration: none;
color: #FFFFFF;
font-weight: bold;
font-size: 14px;
}
總結
以上是生活随笔為你收集整理的html css配色方案,链接css不同的配色方案问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php api查询开发,PHP开发API
- 下一篇: 回溯算法背包问题迭代c语言,回溯法解决0