body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
fieldset,img{border:0;}
input,select,img{ vertical-align:middle;}
input,select,textarea{outline: 0 none;}
address,caption,cite,code,dfn,em,var{font-style:normal;font-weight:normal;}
ol,ul,li{list-style:none;}
h2,h3{ font-size:12px;}
h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:" ";}
abbr,acronym{border:0;}
body{height: 100%; font-size:14px; font-family:Microsoft Yahei, Arial, Helvetica, sans-serif;color:#fff; background:#fff;}
html{height: 100%;}
table{ width:100%; border-collapse:collapse;}
a{ cursor:pointer; text-decoration:none;color:#fff;}
a:hover{ color:#40cfff;}
.clearfix{ clear:both;}
.clearfix:after{clear:both;display:block;visibility:hidden;font-size:0;content:" ";height:0;}
.clearfix {zoom:1;}
i{ font-style:normal;}
/* font */
.f12{font-size:12px;}
我是做开发的,这是部分样式代码。
学习前端不需要数学能力很强,反而需要你有一点审美能力、布局能力(就比如一套家具怎么摆放在客厅才漂亮),放心大胆去学吧!一定能成功的。