常見的HTML5樣式重置
自己總結實用
body,ul,li,dl,dt,dd,p,ol,h1,h2,h3,h4,h5,h6,form,img,table,fieldset,legend,header,nav,footer,menu,section,aside,article,canvas,figure,figcaption{margin:0; padding:0;}
ul,li,ol{list-style:none;}
img,fieldset{border:0; }
img{display:block;}
a{text-decoration:none; color:#333;}
h1,h2,h3,h4,h5,h6{font-weight:100;}
body{ font-family:"微軟雅黑";margin:0 auto;}
input,a{outline:none;}
騰訊
1 2 3 4 5 6 7 8 9 |
; text-decoration : underline }
|
百度
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
1 ,h 2 ,h 3 ,h 4 ,h 5 ,h 6 ,hr,p,blockquote,dl,dt,dd,ul,ol,li, pre ,form,fieldset,legend,button,input,textarea,th,td{ margin : 0 ; padding : 0 }
|
新浪
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
淘寶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
網易
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
搜狐
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
優酷
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
美團
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|