/*ݷ᫽? 1.ա除一些元素的默认间距,边? 2.ա除不同浏览器对Ґ些添加Є默认样? 3.超链接的Ɉ线,和默认样? */ /* 添加一些常用的ݷ 1.字体,字줧? 2.ա除超链接下划线 3.添加浮动 4.ա除添加边框和边距对ա始divЄ影? */ body{ font-size: 12px; font-family: "Microsoft YaHei",sans-serif; color: #333; } a{ color: #333; text-decoration: none; } a:hover{ text-decoration: none; } ul,ol{ list-style: none; } input{ border: none; /*Ƿ取辶点߶的外边?/ outline: none; /*清除移动端默认的表单ݷ:-webkit-appearance是用来改变按Ԯ和其他控件Є外观,使其外观类似于ʦ生? 벸我们可以在相욄ݴ上加?webkit-appearance: none;来移除ʦ生件样式?/ -webkit-appearance: none; } /*添加Є新ݷ*/ /*左浮ɨ与右浮?/ .f_left{ float: left; } .f_right{ float: right; } /*清除浮动*/ .clearfix::before, .clearfix::after{ display:block; height:0; clear:both; content: ""; height: 0; line-height:0; display: block; clear: both; visibility: hidden; } .m_l10{ margin-left:10px; } .m_r10{ margin-right:10px; } .m_t10{ margin-top:10px; } /*Bz*/ .ib{ display: inline-block; } .f13 { font-size: 13px; } .f14 { font-size: 14px; }