2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > CSS reset重置样式【HTML】

CSS reset重置样式【HTML】

时间:2023-06-04 18:54:03

相关推荐

CSS reset重置样式【HTML】

web前端|html教程

CSS reset重置样式

web前端-html教程

在一般我们写一个自己自定义的HTML的时候,我们会清除样式或者说重置样式

响应式官网源码下载,ubuntu的界面花屏,服务器tomcat环境搭建,python爬虫程序卡死,php域名解析网站源码,seo管理运营lzw

重置样式。清除浏览器默认样式,一切全部用自己的设置,并配置适合设计的基础样式

底部导航条网页源码,ubuntu上安装vs,tomcat调优有哪些方式,爬虫 封号的后果,php 有偏随机数,seo url标准lzw

下面给出所有一般需要清除的样式:

易语言模块源码,vscode支持安卓平板吗,ubuntu优盘路径,tomcat配置cer证书,爬虫数据金融,php会议室管理系统,电商SEO是免费流量吗lzw

html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}

header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block;}

table{ border-collapse : collapse ; border-spacing : 0; }

caption,th{ text-align : left ; font-weight : normal ;}

html,body,fieldset,img,iframe,abbr{ border : 0; }

i,cite,em,var,address,dfn{ font-style : normal ;}

[hidefocus],summary{ outline : 0; }

li{ list-style : none ;}

h1,h2,h3,h4,h5,h6, small { font-size : 100% ;}

sup,sub{ font-size : 83% ;}

pre,code,kbd,samp{ font-family :inherit;}

q:before,q:after{ content : none ;}

textarea{ overflow : auto ;resize: none ;}

label,summary{ cursor : default ;}

a,button{ cursor : pointer ;}

h1,h2,h3,h4,h5,h6,em,strong,b{ font-weight : bold ;}

del,ins,u,s,a,a:hover{ text-decoration : none ;}

body,textarea,input,button,select,keygen,legend{ font : 12px /1.14 arial ,\5b8b\4f 53; color : #333 ; outline : 0; }

body{ background : #fff ;}

a,a:hover{ color : #333 ;}

在开始写代码的时候可以在一开始就把它全部引进去!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。