头闻号

湛江市坡头区天奇维诚化工有限公司

其他皮革化学品|精细化学品代理加盟|脱脂剂|牛皮革|抛光膏|柔软剂

首页 > 新闻中心 > 科技常识:我的css框架――base.css(重设浏览器默认样式)
科技常识:我的css框架――base.css(重设浏览器默认样式)
发布时间:2023-02-01 09:56:58        浏览次数:6        返回列表

今天小编跟大家讲解下有关我的css框架――base.css(重设浏览器默认样式) ,相信小伙伴们对这个话题应该有所关注吧,小编也收集到了有关我的css框架――base.css(重设浏览器默认样式) 的相关资料,希望小伙伴们看了有所帮助。

复制代码代码如下: @charset"utf-8"; html { color:black; background:white; } body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { margin:0; padding:0; } body,button,input,select,textarea { font:12px SimSun,tahoma,arial,sans-serif; } input,select,textarea { font-size:100%; } table { border-collapse:collapse; border-spacing:0; } th { text-align:inherit; } fieldset,img { border:none; } iframe { display:block; } abbr,acronym { border:none; font-variant:normal; } del { text-decoration:line-through; } address,caption,cite,code,dfn,em,th,var { font-style:normal; font-weight:500; } ol,ul { list-style:none; } caption,th { text-align:left; } h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:500; } q:before,q:after { content:''; } sub, sup { font-size:75%; line-height:0; position:relative; vertical-align:baseline; } sup { top:-0.5em; } sub { bottom:-0.25em; } a:hover { text-decoration:underline; } ins,a { text-decoration:none; } a:focus,*:focus { outline:none; } .clearfix:before,.clearfix:after { content:""; display:table; } .clearfix:after { clear:both; overflow:hidden; } .clearfix { zoom:1; } .clear{ clear:both; display:block; overflow:hidden; height:0; line-height:0; font-size:0; } .hide { display:none !important; visibility:hidden; } .block { display:block !important; } .fl { float:left; display:inline; } .fr { float:right; display:inline; }

来源:爱蒂网