当前第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 padding什么意思
html中如何设置不可点击
如何设置css作用域
jquery怎么改变css样式
css指的是什么
不属于css插入形式的是什么
css怎么设置图片圆角
css如何做三角形
css怎么设置标签属性
使用css实现自适应标题浮动效果(代码实例)
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css怎么消除默认样式