• css公共样式


       *{box-sizing: border-box}
        body,dl,dd,ul,ol,h1,h2,h3,h4,h5,h6,pre,form,fieldset,legend,input,textarea,p,blockquote,figure,hr,menu,dir,thead,tbody,tfoot{
        margin:0;padding:0}
        ul,ol{list-style-type:none;list-style-image:none}
        a{text-decoration:none}
        a:hover{text-decoration:underline}
        a:active{background-color:transparent}
        a:active,a:hover{outline:0 none}a:focus{outline:0px none}
        *{-webkit-tap-highlight-color:rgba(0,0,0,0)}
        html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-size:62.5%}
        body{font-size:14px;font-size:1.4rem;line-height:1.2}
        body,button,input,select,textarea{font-family:'helvetica neue','hiragino sans gb',stheiti,'wenquanyi micro hei',5FAE8F6F96C59ED1,5B8B4F53,sans-serif}
        h1{font-size:36px;font-size:3.6rem}
        h2{font-size:30px;font-size:3rem}
        h3{font-size:22px;font-size:2.2rem}
        h4{font-size:18px;font-size:1.8rem}
        h5{font-size:14px;font-size:1.4rem}
        h6{font-size:12px;font-size:1.2rem}
        abbr,acronym{border-bottom:1px dotted;cursor:help}
        b,strong{font-weight:700}
        dfn{font-style:italic}
        hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}
        mark{background-color:#ff0;color:#000}
        code,kbd,pre,samp{font-family:monaco,menlo,consolas,'courier new',courier,monospace}
        pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}
        q{quotes:none}
        q:before,q:after{content:'';content:none}
        small{font-size:85.7%;font-size:1.2rem}
        sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
        sup{top:-.5em}
        sub{bottom:-.25em}
        table{border-collapse:collapse;border-spacing:0}
        th{text-align:left}
        img{border:0 none;width:auto9;height:auto;max-width:100%;vertical-align:top;-ms-interpolation-mode:bicubic}
        svg:not(:root){overflow:hidden}
        fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
        legend{border:0 none;white-space:normal;*margin-left:-7px}
        button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}
        input,button{*overflow:visible}
        button,select{text-transform:none}
        button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}
        button[disabled],input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;*height:13px;*width:13px}
        input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
        input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
        button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
        textarea{overflow:auto;vertical-align:top;resize:vertical}
        select:disabled option:checked,option:disabled:checked{color:#D2D2D2}
        @media screen and (-webkit-min-device-pixel-ratio:0){input{line-height:normal!important}}
        input::-moz-placeholder,textarea::-moz-placeholder{color:darkGray!important;opacity:1!important}
        label{cursor:pointer}select[size],select[multiple],select[size][multiple]{border:1px solid #AAA;padding:0}
        article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}
        audio,canvas,video{display:inline-block}
        audio:not([controls]){display:none;height:0}[hidden],template{display:none}[draggable]{cursor:move}

     

  • 相关阅读:
    vi 整行 多行 复制与粘贴
    FPGA设计—UVM验证篇 Hello world
    武汉市最大的二手车市场
    vim 使用技巧
    CentOS 7下的软件安装方法及策略
    搜索插件:ack.vim
    Vim插件管理
    【一】 sched.h
    Android USB驱动源码分析(-)
    在Python中反向遍历序列(列表、字符串、元组等)的五种方式
  • 原文地址:https://www.cnblogs.com/wdxue/p/8616681.html
Copyright © 2020-2023  润新知