zoukankan      html  css  js  c++  java
  • css代码初始化

    @charset "utf-8";
    /* 页面元素初始化和常用样式定义-start */
    /*======== 全局 ========*/
    body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
    }
    body {
    font-size: 12px;
    color: #666;
    font-family: Verdana, Microsoft YaHei, Simsun;
    background: #fff;
    line-height: 24px;
    }
    fieldset, img {
    border: 0;
    }
    ol, ul {
    list-style: none;
    }
    h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    }
    em {
    font-style: normal;
    }
    input, button, select, textarea {
    outline: none;
    }
    /*禁用了文本的拖拉,尤其在谷歌下*/
    textarea {
    resize: none;
    }
    /*为了使文本段落左右两边对齐*/
    p {
    text-align: justify;
    text-justify: distribute;
    }
    /*======== Link ========*/
    a {
    color: #666;
    text-decoration: none;
    }
    a:hover {
    color: #f60;
    text-decoration: none;
    }
    /*清空浮动的代码-start*/
    .clr:after {
    content: "";
    display: table;
    clear: both
    }
    .clr {
    *zoom:1;
    }
    /*清空浮动的代码-end*/
    /* 页面元素初始化和常用样式定义-end */


    END
    ---------------------------------------------------------------------------------------------
    欢迎关注 我的微博@疯狂的迈步 我的github@junhey
  • 相关阅读:
    [CF1342D] Multiple Testcases
    [CF448D] Multiplication Table
    [CF459C] Pashmak and Buses
    [CF766E] Mahmoud and a xor trip
    [CF35E] Parade
    [CF15C] Industrial Nim
    [CF9D] How many trees?
    [CF19B] Checkout Assistant
    [CF22D] Segments
    [CF21D] Traveling Graph
  • 原文地址:https://www.cnblogs.com/junhey/p/3689281.html
Copyright © 2011-2022 走看看