zoukankan      html  css  js  c++  java
  • 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}

     

  • 相关阅读:
    因为公司项目需要,我要学习PB了,哎
    送给自己人生的第一份生日礼物——Java小游戏!
    第二讲 Java 开发环境搭建
    IT学生关于“怎么学习”的思考,这也是其他人思考的问题吗?
    第四讲 类与对象
    第一讲 Java 介绍
    第三讲 Java 基本数据类型+运算符
    初步理解Lambda表达式的简单实现
    一道关于pack()和sizeof笔试题
    排序源码(待续)
  • 原文地址:https://www.cnblogs.com/wdxue/p/8616681.html
Copyright © 2011-2022 走看看