zoukankan      html  css  js  c++  java
  • 1.reset.css的设置

    /*    reset  css */
    *,
    ::before,
    ::after{
        /*选择所有的标签 */
        margin: 0;
        padding: 0;
    
        /*清除移动端默认的 点击高亮效果*/
        -webkit-tap-highlight-color: transparent;
        /*设置所有的都是以边框开始计算宽度  百分比*/
        -webkit-box-sizing: border-box;/*兼容*/
        box-sizing: border-box;
    }
    body{
        font-size: 14px;
        font-family: "MicroSoft YaHei",sans-serif;/*设备默认字体*/
        color: #333;
    }
    a{
        color: #333;
        text-decoration: none;
    }
    a:hover{
        text-decoration: none;
    }
    ul,ol{
        list-style: none;
    }
    input{
        border: none;
        outline: none;
        /*清楚移动端默认的表单样式*/
        -webkit-appearance: none;
    }
    
    /* common css */
    .f_left{
        float: left;
    }
    .f_right{
        float: right;
    }
    .clearfix::before,
    .clearfix::after{
        content: "";
        height: 0;
        line-height: 0;
        display: block;
        visibility: hidden;
        clear: both;
    }
    
    [class^="icon_"]{
        background: url("../images/sprites.png") no-repeat;
        background-size: 200px 200px;
    }
    
    .m_l10{
        margin-left: 10px;
    }
    .m_r10{
        margin-right: 10px;
    }
    .m_b10{
        margin-bottom: 10px;
    }
    .m_t10{
        margin-top: 10px;
    }
    

      

  • 相关阅读:
    Zend Guard 7 , Zend Guard Loader处理PHP加密
    [转]pHP源码加密方法调查
    使用USB Key(加密狗)实现身份认证
    4*4行列式矩阵键盘
    HDU-2546-饭卡
    HDU-2073-无限的路
    HDU-2065-"红色病毒"问题
    HDU-2063-过山车
    HDU-2060-Snooker
    HDU-2056-Rectangles
  • 原文地址:https://www.cnblogs.com/weizaiyes/p/6092642.html
Copyright © 2011-2022 走看看