精华内容
下载资源
问答
  • CSS 样式重置

    2018-08-18 21:37:20
    常见网站的样式重置 新浪 html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; } fieldset, img { border:none; } img{display: block;} ...

    常见网站的样式重置

    新浪

    html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; }
    fieldset, img { border:none; }
    img{display: block;}
    address, caption, cite, code, dfn, th, var { font-style:normal; font-weight:normal; }
    ul, ol { list-style:none; }
    body { color:#333; font:12px/20px "SimSun","宋体","Arial Narrow",HELVETICA; background:#fff;/* overflow-y:scroll;*/ overflow-x:hidden;}
    a { color:#666; text-decoration:none; }
    a:visited { color:#666; }
    a:hover, a:active, a:focus { color:#ff8400; text-decoration:underline; }

    腾讯

    body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0}
    body{font:12px "宋体","Arial Narrow",HELVETICA;background:#fff;}
    a{color:#172c45;text-decoration:none}
    a:hover{color:#cd0200;text-decoration:underline}
    em{font-style:normal}
    li{list-style:none}
    img{border:0;vertical-align:middle}
    table{border-collapse:collapse;border-spacing:0}
    p{word-wrap:break-word}
    .ind{text-indent:2em}
    .ind10{text-indent:10px;}
    .noborder{border:0;}

    搜狐

    body{font-family:"\5B8B\4F53","Arial Narrow",HELVETICA;text-align:center;margin:0 auto;padding:0;background:#FFF;font-size:12px;color:#333;}
    body > div{text-align:center;margin-right:auto;margin-left:auto;}
    div,form,ul,ol,li,span,p{margin:0;padding:0;border:0;}
    img,a img{border:0;margin:0;padding:0;}
    h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-size:12px;font-weight:normal;}
    ul,ol,li{list-style:none}
    table,td,input{font-size:12px;padding:0} /* 默认链接颜色 */
    a{outline-style:none;color:#333;text-decoration:none}
    a:hover{color:#c00;text-decoration:underline;}
    展开全文
  • 样式重置

    2017-01-10 21:31:00
    @charset "utf-8";html{ -webkit-text-size-adjust:none;word-wrap: break-word; width: 100%; height: 100%; -ms-overflow-style: scrollbar;}body,dl,dd,dt,ul,ol,li,h1,h2,h3,h4,h5,h6,p,form,input,tex...
    @charset "utf-8";

    html{
    -webkit-text-size-adjust:none;word-wrap: break-word;
    width: 100%;
    height: 100%;
    -ms-overflow-style: scrollbar;
    }
    body,dl,dd,dt,ul,ol,li,h1,h2,h3,h4,h5,h6,p,form,input,textarea,th,td,img,button{
    margin:0;
    padding:0;
    }
    h1,h2,h3,h4,h5,h6{
    font-weight: normal;
    }
    table{
    border-collapse:collapse;
    }
    img{
    border:none;
    }
    li{
    list-style:none
    }
    a{
    text-decoration:none;
    color: #333333;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    outline: none;
    }
    a:hover{
    text-decoration: none;
    }
    textarea{
    resize:none;
    overflow:auto;
    }
    input,textarea,select,label{
    outline:none;
    }
    body,input,textarea,select{
    font-family: "Microsoft YaHei";
    }
    body{
    width: 100%;
    height: 100%;
    position: relative;
    -ms-overflow-style: scrollbar;
    }
    ::-webkit-input-placeholder,:-ms-input-placeholder,::-moz-placeholder,:-moz-placeholder {color: #777;}
    * {
    box-sizing: border-box;
    }
    *::after, *::before {
    box-sizing: border-box;
    }

    .clearfix{
    zoom:1;
    *zoom:1;
    }
    .clearfix:after{
      content:"";
    display:block;
    clear:both;
      visibility:hidden;
      height:0;  
    }

    转载于:https://www.cnblogs.com/lyk562564104/p/6270887.html

    展开全文
  • CSS样式重置

    2019-10-02 05:28:23
    一、样式重置(公共样式)  1.新浪:  html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; }  fieldset, img { border:none; }  img{...

    一、样式重置(公共样式)

      1.新浪:

        html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; }

        fieldset, img { border:none; }

        img{display: block;}

        address, caption, cite, code, dfn, th, var { font-style:normal; font-weight:normal; }

        ul, ol,li { list-style:none; } 

        body { color:#333; font:12px/20px "SimSun","宋体","Arial Narrow",HELVETICA; background:#fff;/* overflow-y:scroll;*/ overflow-x:hidden;}

        a { color:#666; text-decoration:none; }

        a:visited { color:#666; }

        a:hover, a:active, a:focus { color:#ff8400; text-decoration:underline; }

      2.腾讯

        body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0} 

        body{font:12px "宋体","Arial Narrow",HELVETICA;background:#fff;}

        a{color:#172c45;text-decoration:none} 

        a:hover{color:#cd0200;text-decoration:underline} 

        em{font-style:normal}

        li{list-style:none}

        img{border:0;vertical-align:middle} 

        table{border-collapse:collapse;border-spacing:0}

        p{word-wrap:break-word}

        .ind{text-indent:2em} 

        .ind10{text-indent:10px;}

        .noborder{border:0;}

        .left{floaT:left;}

        .right{float:right;}

        .clearBoth{clear:both;}

        .font12{font-size;12px;}

      3.搜狐

        body{font-family:"\5B8B\4F53","Arial Narrow",HELVETICA;text-align:center;margin:0 auto;padding:0;background:#FFF;font-size:12px;color:#333;} 

        body > div{text-align:center;margin-right:auto;margin-left:auto;} 

        div,form,ul,ol,li,span,p{margin:0;padding:0;border:0;}

        img,a img{border:0;margin:0;padding:0;}

        h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-size:12px;font-weight:normal;}

        ul,ol,li{list-style:none}

        table,td,input{font-size:12px;padding:0} /* 默认链接颜色 */ 

        a{outline-style:none;color:#333;text-decoration:none}

        a:hover{color:#c00;text-decoration:underline;}

    转载于:https://www.cnblogs.com/liufuyuan/p/10243424.html

    展开全文
  • css样式重置

    2020-06-16 14:49:38
    css样式重置 基本设置: /** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6...

    css样式重置

    基本设置:

    /**
     * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
     * http://cssreset.com
     */
     
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, 
    figure, figcaption, footer, header, hgroup, 
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video{
      margin: 0;
      padding: 0;
      border: 0;
      font-size: 100%;
      font: inherit;
      font-weight: normal;
      vertical-align: baseline;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section{
      display: block;
    }
    ol, ul, li{
      list-style: none;
    }
    blockquote, q{
      quotes: none;
    }
    blockquote:before, blockquote:after,
    q:before, q:after{
      content: '';
      content: none;
    }
    table{
      border-collapse: collapse;
      border-spacing: 0;
    }
     
    /* custom */
    a{
      color: #7e8c8d;
      text-decoration: none;
      -webkit-backface-visibility: hidden;
    }
    ::-webkit-scrollbar{
      width: 5px;
      height: 5px;
    }
    ::-webkit-scrollbar-track-piece{
      background-color: rgba(0, 0, 0, 0.2);
      -webkit-border-radius: 6px;
    }
    ::-webkit-scrollbar-thumb:vertical{
      height: 5px;
      background-color: rgba(125, 125, 125, 0.7);
      -webkit-border-radius: 6px;
    }
    ::-webkit-scrollbar-thumb:horizontal{
      width: 5px;
      background-color: rgba(125, 125, 125, 0.7);
      -webkit-border-radius: 6px;
    }
    html, body{
      width: 100%;
      font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", "微软雅黑", sans-serif;
    }
    body{
      line-height: 1;
      -webkit-text-size-adjust: none;
      -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
    html{
      overflow-y: scroll;
    }
     
    /*清除浮动*/
    .clearfix:before,
    .clearfix:after{
      content: " ";
      display: inline-block;
      height: 0;
      clear: both;
      visibility: hidden;
    }
    .clearfix{
      *zoom: 1;
    }
     
    /*隐藏*/
    .dn{
      display: none;
    }
    

    腾讯:

    body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0} 
    body{font:12px"宋体","Arial Narrow",HELVETICA;background:#fff;-webkit-text-size-adjust:100%;} 
    a{color:#2d374b;text-decoration:none} 
    a:hover{color:#cd0200;text-decoration:underline} 
    em{font-style:normal} 
    li{list-style:none} 
    img{border:0;vertical-align:middle} 
    table{border-collapse:collapse;border-spacing:0} 
    p{word-wrap:break-word} 
    

    新浪:

    body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div{margin:0;padding:0;border:0;} 
    body{background:#fff;color:#333;font-size:12px; margin-top:5px;font-family:"SimSun","宋体","Arial Narrow";}
    ul,ol{list-style-type:none;} 
    select,input,img,select{vertical-align:middle;} 
    a{text-decoration:none;} 
    a:link{color:#009;} 
    a:visited{color:#800080;} 
    a:hover,a:active,a:focus{color:#c00;text-decoration:underline;} 
    

    淘宝:

    body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; } 
    body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; } 
    h1, h2, h3, h4, h5, h6{ font-size:100%; } 
    address, cite, dfn, em, var { font-style:normal; } 
    code, kbd, pre, samp { font-family:couriernew, courier, monospace; } 
    small{ font-size:12px; } 
    ul, ol { list-style:none; } 
    a { text-decoration:none; } 
    a:hover { text-decoration:underline; } 
    sup { vertical-align:text-top; } 
    sub{ vertical-align:text-bottom; } 
    legend { color:#000; } 
    fieldset, img { border:0; }
    button, input, select, textarea { font-size:100%; } 
    table { border-collapse:collapse; border-spacing:0; } 
    

    雅虎:

    body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td { margin:0; padding:0; }
    body { background:#fff; color:#555; font-size:14px; font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif; }
    td,th,caption { font-size:14px; }
    h1, h2, h3, h4, h5, h6 { font-weight:normal; font-size:100%; }
    address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal;}
    a { color:#555; text-decoration:none; }
    a:hover { text-decoration:underline; }
    img { border:none; }
    ol,ul,li { list-style:none; }
    input, textarea, select, button { font:14px "Arial","Microsoft YaHei","黑体","宋体",sans-serif; }
    table { border-collapse:collapse; }
    html {overflow-y: scroll;} 
     
    .clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
    .clearfix { *zoom:1; }/*公共类*/
    .fl { float:left}
    .fr {float:right}
    .al {text-align:left}
    .ac {text-align:center}
    .ar {text-align:right}
    .hide {display:none}
    

    网易:

    html {overflow-y:scroll;}
    body {margin:0; padding:29px00; font:12px"\5B8B\4F53",sans-serif;background:#ffffff;}
    div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,p{padding:0; margin:0;}
    table,td,tr,th{font-size:12px;}
    li{list-style-type:none;}
    img{vertical-align:top;border:0;}
    ol,ul {list-style:none;}
    h1,h2,h3,h4,h5,h6{font-size:12px; font-weight:normal;}
    address,cite,code,em,th {font-weight:normal; font-style:normal;}
    

    文章转载自reser.css

    展开全文
  • 移动端样式重置

    2019-07-02 15:47:31
    移动端样式重置: @charset "utf-8"; /* * -- 样式说明 -- * 最大优先实现法,全局能实现不用区域,区域能实现不用模板, * 模板能实现不用界面,界面能实现不用标签 * g - 全局 * t - 区域 * m - 模板 * ui - ...
  • 常见网站CSS样式重置

    千次阅读 2018-11-16 16:07:55
    常见网站CSS样式重置  腾讯 body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0} body{font:12px "宋体","Arial Narrow",...
  • 非常好用的css样式重置

    千次阅读 2018-05-25 23:46:35
    目的:重新设置我们页面的样式(去掉每个浏览自己默认的样式,将页面初始化为统一样式)有益于页面的布局,建议每个页面都重置样式我们在...用过很多网上现成的样式重置表,然后有时写的样式代码没问题却达不到自...
  • 可以直接从网页上取到通用样式 例如微博 reset.css /** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */ html, body, div, span, applet, object...
  • 移动端样式重置代码

    2017-09-26 16:45:10
    word-wrap: break-word; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; ...
  • 常见的css样式重置

    2021-07-14 08:58:52
    常见的css样式重置 腾讯 body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0} body{font:12px "宋体","Arial Narrow",HELVETICA;background:#fff;-webkit...
  • 常见网页css样式重置

    2019-01-17 14:28:08
    p{word-wrap:break-word} 百度 body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0} html{color:#000;overflow-y:scroll;...
  • 非常好用的CSS样式重置表 我们在项目前期准备时都会准备好一个reset.css,因为不同浏览器对标签的解析各不相同,重置css样式可以让标签在不同浏览器下产生相同的效果。所以一个好的重置样式表是非常重要的。...
  • CSS样式重置 reset.css

    2020-08-06 09:32:25
    html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,...word-break:break-all;-webkit-box-orient:vertical;-webkit-line-clamp:2;} .show {display:block;} .hide {display:none;} .center {text-align:center;}
  • HTML默认样式重置CSS写法总结

    千次阅读 2019-07-19 16:59:26
    HTML默认样式重置CSS写法总结 1、goal /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, ...
  • 为什么会有css样式重置代码? 由于html标签在各个浏览器的默认css中表现差异化,为了统一布局,所以需要先重置样式。当然网上有很多这类型的css,这里我罗列出必须的,精简的代码。 直接拷贝一下代码到您的css最...
  • 常见的CSS样式重置

    2020-02-27 01:04:59
    break-word } 百度 body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td { margin : 0 ; padding : 0 } html { color : #000 ; overflow-y :...
  • 重置样式 normalize.css 保留有用的默认值,与许多 CSS 重置不同。 标准化各种元素的样式。 纠正错误和常见的浏览器不一致问题。 通过细微的修改提高可用性。 使用详细注释解释代码的作用。 下载包 npm i...
  • 整个网站里相同的css样式提取到一个样式表里,各个页面调用相同的样式文件即可。网站较大的情况下一般会把网站的头部,尾部单独分离出来,包括样式文件 根据页面类型分离文件 根据功能模块分离文件 根据设备类型分离...
  • ------- 样式可以简单的分为四大类,分别是”显示样式“,“自身样式”,“文本样式”,“css新样式” 显示样式:控制元素展示方式的属性,主要包括:float,posititon,display,overflow,visibility等 自身样式:...
  • break-word ; word-break : break-all ; } .f-ti { overflow : hidden ; text-indent : -30000px ; } .f-ti2 { text-indent : 2em ; } .f-lhn { line-height : normal ; } .f-tdu, .f-...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 6,982
精华内容 2,792
关键字:

word样式重置