当前第2页 返回上一页
1 | ul, ol { list-style: none; }
|
4、 重置文本格式元素
1 2 3 4 5 6 7 | a { text-decoration: none; }
a:hover { text-decoration: underline; }
abbr[title], acronym[title] {
border-bottom: 1px dotted;
cursor: help;
}
q:before, q:after { content: '' ; }
|
5、重置表单元素
1 2 3 4 5 6 | legend { color: #000; }
fieldset, img { border: none; }
button, input, select, textarea {
font-size: 100%;
}
|
6、重置表格元素
1 2 3 4 | table {
border-collapse: collapse;
border-spacing: 0;
}
|
7、 重置 hr
1 2 3 4 | hr {
border: none;
height: 1px;
}
|
推荐学习:《css视频教程》
以上就是css怎么消除默认样式的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css实现将网页变成黑白色
css text-transform属性怎么用
怎样建立新的css规则
分享使用css实现酷炫充电动画效果的小技巧
css怎么设置图片不停旋转
css内边框如何设置
炫酷的 css 边框动画,快来收藏吧!
css怎么引用外部ttf字体?
css如何设置缩放
html中如何设置不可点击
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css怎么消除默认样式