zoukankan      html  css  js  c++  java
  • css统一清除默认样式

    @charset 'utf-8';
    body,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    hr,
    p,
    blockquote,
    dl,
    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.6 Verdana, Helvetica, sans-serif;
    }
    
    /*雅黑:5FAE8F6F96C59ED1  Verdana, Helvetica, sans-serif*/
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 100%;
    }
    
    button,
    input,
    select,
    textarea {
        font-size: 100%;
    }
    
    a {
        text-decoration: none;
    }
    
    ul,
    ol {
        list-style: none;
    }
    
    table {
        border-collapse: collapse;
        border-spacing: 0;
    }
    
    .layout:after {
        content: '20';
        display: block;
        height: 0;
        clear: both;
    }
    
    .layout {
        *zoom: 1;
    }
    
    .cf:before,
    .cf:after {
        content: '';
        display: table;
    }
    
    .cf:after {
        clear: both;
    }
    
    .cf {
        *zoom: 1;
    }
    
    small,
    cite,
    code,
    em,
    th,
    i,
    b {
        font-size: 1em;
        font-style: normal;
        font-weight: 500;
    }
    /* reset CSS */
  • 相关阅读:
    6-2 铁轨 uva 514
    并查集基础
    周练7
    周练5
    周练4
    二分查找
    周练3
    2-7 使用不同方式进行定位.py
    2-6 使用title_contains检查页面是否正确
    启用不同浏览器.py
  • 原文地址:https://www.cnblogs.com/yjf713/p/13485222.html
Copyright © 2011-2022 走看看