清除内外边距

*{margin: 0px;padding: 0px;border: 0px}

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;
}

 

posted @ 2019-05-27 14:58  wanly  阅读(361)  评论(0编辑  收藏  举报