zoukankan      html  css  js  c++  java
  • global.css

    global.css

    /* 页面元素初始化和常用样式定义-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: #333;
        font-family:  "Microsoft YaHei","微软雅黑";
    }
    fieldset, img {
        border: 0;
        vertical-align: middle;
    }
    ol, ul, li {
        list-style: none;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 100%;
    }
    em {
        font-style: normal;
    }
     button, select, textarea {
        outline: none;
    }
    /*禁用了文本的拖拉,尤其在谷歌下*/
    textarea {
        resize: none;
    }
    /*为了使文本段落左右两边对齐*/
    p {
        text-align: justify;
        text-justify: distribute;
    }
    /*======== Link ========*/
    a {
        color: #fff;
        text-decoration: none;
    }
    a:hover {
        color: #f60;
        text-decoration: none;
    }
    .fl{float: left;}
    .fr{float: right;}
    /*清空浮动的代码-start*/
    .clr:after {
        content: "";
        display: table;
        clear: both
    }
    .clr {
        *zoom:1;
    }
    /*清空浮动的代码-end*/
    /* 页面元素初始化和常用样式定义-end */
  • 相关阅读:
    记录操作日志
    sql优化【转】
    JS事件
    MFC电子词典
    控制台电子词典---链表
    控制台电子词典
    贪吃蛇
    十六进制转化
    进程线程
    面试体复习
  • 原文地址:https://www.cnblogs.com/s313139232/p/11319770.html
Copyright © 2011-2022 走看看