zoukankan      html  css  js  c++  java
  • 我自己的style

    /**
    DATE:Time
    AUTHOR:Zoe
    TEAM:公司名称
    INTRO:cssName
    **/
    
    
    @charset "utf-8";
    /*通用公共样式 开始*/
    
    
    /* 清除内外边距 */
    body, h1, h2, h3, h4, h5, h6, hr, p, blockquote,dl, dt, dd, ul, ol, li,pre, fieldset, lengend, button, input, textarea,th, td {
        margin: 0;
        padding: 0;
    }
    
    /* 设置默认字体 */
    body,
    button, input, select, textarea {    
        font: 12px/1 Tahoma, Helvetica, Arial, "5b8b4f53", sans-serif; 
    }
    
    h1 { font-size: 18px; }
    h2 { font-size: 16px; }
    h3 { font-size: 14px; }
    h4, h5, h6 { font-size: 100%; }
    
    address, cite, dfn, em, var { font-style: normal; }
    code, kbd, pre, samp, tt { font-family: "Courier New", Courier, monospace; } 
    small { font-size: 12px; } 
    
    /* 重置列表元素 */
    ul, ol { list-style: none; }
    
    /* 重置文本格式元素 */
    a { text-decoration: none; }
    a:hover { text-decoration: underline; }
    
    abbr[title], acronym[title] { 
        border-bottom: 1px dotted;
        cursor: help;
    }
    
    q:before, q:after { content: ''; }
    
    /* 重置表单元素 */
    legend { color: #000; }
    fieldset, img { border: none; } 
    button, input, select, textarea {
        font-size: 100%; 
    }
    
    /* 重置表格元素 */
    table {
        border-collapse: collapse;
        border-spacing: 0;
    }
    
    /* 重置 hr */
    hr {
        border: none;
        height: 1px;
    }
    
    /* 让非ie浏览器默认也显示垂直滚动条,防止因滚动条引起的闪烁 */
    html { overflow-y: scroll; }
    人如代码,规矩灵活;代码如诗,字句精伦。
  • 相关阅读:
    Vmstat主要关注哪些数据?
    Swap是个什么东东?
    Buffers与cached啥区别
    做错的题目——关于构造器返回值
    做错的题目——this的指向
    JS判断一个数是否为质数
    数组扁平化
    JS实现快速排序
    正则实现千分符
    获取鼠标的当前位置
  • 原文地址:https://www.cnblogs.com/xinlinux/p/3940859.html
Copyright © 2011-2022 走看看