简单记录下
清除a标签的默认样式:
/*包含以下四种的链接*/
a {
text-decoration: none;
}
/*正常的未被访问过的链接*/
a:link {
text-decoration: none;
}
/*已经访问过的链接*/
a:visited {
text-decoration: none;
}
/*鼠标划过(停留)的链接*/
a:hover {
text-decoration: none;
}
/* 正在点击的链接*/
a:active {
text-decoration: none;
}
清除li默认标签样式:
ul,li{ padding:0;margin:0;list-style:none}