zoukankan      html  css  js  c++  java
  • web常用样式初始化css

     1 html, body ,div, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form,a,img,span,em,i,b,iframe,strong,label{ padding:0; margin:0;-webkit-tap-highlight-color: rgba(0,0,0,0);}
     2 html,body{height:100%;overflow: hidden;}
     3 html{-webkit-font-smoothing: antialiased;-webkit-text-size-adjust:none;}
     4 body{font-size: 16px;font-family:sans-serif; color: #000;background-color:#ececec;}
     5 
     6 article,aside,details,figcaption,figure,footer,header,hgroup,menu,main,nav,section,summary{display:block;}
     7 ol,ul{ list-style: none; }
     8 a{ text-decoration: none; color: #333; cursor: pointer;-webkit-touch-callout:none;}
     9 em, i { font-style: normal; }
    10 img{vertical-align:middle;border:none; -webkit-touch-callout:none;}
    11 a,input, select, textarea,button { padding:0; margin:0;border: 0;outline: 0; border-radius: 0;  -webkit-appearance: none;}
    12 input:disabled{background-color: #fff;}
    13 textarea{resize: none;}
    14 table {border-spacing: 0;border-collapse: collapse;}
    15 
    16 ::-webkit-scrollbar {width: 3px; height:3px;background-color:transparent; }   
    17 ::-webkit-scrollbar-track {background-color:transparent;}    
    18 ::-webkit-scrollbar-thumb {background-color:rgba(0, 0, 0, .298039);border-radius: 2px;}
    19 
    20 ::-webkit-input-placeholder { color: #666;opacity:  1;}
    21 :-moz-placeholder {color: #666;opacity:  1;}
    22 ::-moz-placeholder {color: #666;opacity:  1;}
    23 :-ms-input-placeholder {color: #666;opacity:  1;}
  • 相关阅读:
    HTTP协议
    优化特定类型的查询
    Feign性能优化注意事项
    Spring Cloud(Netflix) Feign: 以Dubbo暴露服务的方式使用Feign
    Swagger注解
    Myeclipse、eclipse安装lombok
    微服务和单体架构的区别以及springClould版本的说明
    索引优化是对查询性能优化最有效的手段
    Schemal和数据类型的优化
    spring定时器的使用
  • 原文地址:https://www.cnblogs.com/webgg/p/5343854.html
Copyright © 2011-2022 走看看