• 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;}
  • 相关阅读:
    web网站的测试需考虑的问题
    颜色搭配
    30岁前不必在乎的30件事情
    数据库时代的终结
    实现IT创业的十三种模式分析
    Linux rpm 命令参数使用详解[介绍和应用]
    PHP中的正则表达式及模式匹配
    linux下使用yum安装Apache+php+Mysql+phpMyAdmin
    jQuery.extend函数详细用法
    PHP CURL HTTP 研究笔记
  • 原文地址:https://www.cnblogs.com/webgg/p/5343854.html
Copyright © 2020-2023  润新知