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
  • 相关阅读:
    CSS3 Transitions 你可能不知道的知识点
    css规范
    移动应用表单设计秘籍
    SVN和Git的一些用法总结
    让Terminal显示git分支
    JavaScript正则表达式下——相关方法
    requests模块
    flask模块
    os模块
    简单的socket编程
  • 原文地址:https://www.cnblogs.com/junhey/p/3689281.html
Copyright © 2011-2022 走看看