• 技术文章 >web前端 >css教程

    css中reset重置样式的代码实现

    不言不言2018-08-24 11:32:47原创1085
    本篇文章给大家带来的内容是关于如何使用纯CSS3实现图片轮播的效果,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。

    重置样式,清除浏览器默认样式,并配置适合设计的基础样式(强调文本是否大多是粗体、主文字色,主链接色,主字体等)。

    /* reset */
    html,body,h1,h2,h3,h4,h5,h6,p,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}
    header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block;}
    table{border-collapse:collapse;border-spacing:0;}
    caption,th{text-align:left;font-weight:normal;}
    html,body,fieldset,img,iframe,abbr{border:0;}
    i,cite,em,var,address,dfn{font-style:normal;}
    [hidefocus],summary{outline:0;}
    li{list-style:none;}
    h1,h2,h3,h4,h5,h6,small{font-size:100%;}
    sup,sub{font-size:83%;}
    pre,code,kbd,samp{font-family:inherit;}
    q:before,q:after{content:none;}
    textarea{overflow:auto;resize:none;}
    label,summary{cursor:default;}
    a,button{cursor:pointer;}
    h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:bold;}
    del,ins,u,s,a,a:hover{text-decoration:none;}
    body,textarea,input,button,select,keygen,legend{font:12px/1.14 arial,\5b8b\4f53;color:#333;outline:0;}
    body{background:#fff;}
    a,a:hover{color:#333;}

    相关推荐:

    CSS Reset 详细分析_html/css_WEB-ITnose

    CSS reset重置样式_html/css_WEB-ITnose

    以上就是css中reset重置样式的代码实现的详细内容,更多请关注php中文网其它相关文章!

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:css reset
    上一篇:css如何实现水纹扩散的动画效果(纯代码) 下一篇:css书写规范的详细讲解
    Web大前端开发直播班

    相关文章推荐

    • 实例详解css3特效之3D翻牌效果• 重置默认样式 css reset• Css Reset(复位)方法整理_经验交流• 关于CSS Reset 那些事(二)之 Normalize.css 源码解读_html/css_WEB-ITnose• 关于CSS Reset 那些事(一) -- 历史演变与Normalize.css_html/css_WEB-ITnose
    1/1

    PHP中文网