• 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;}
  • 相关阅读:
    silverlight.js详解.
    Silverlight做随机图形
    腾讯与微软合作,准备应用Silverlight技术
    Flex的起步推动新语言学习
    微软Silverlight将支持DRM数字保护
    Kit 3D 更新
    用silverlight来开发简单的相册.
    加班一星期的结果
    构建Flex应用的10大误区
    ubuntu下SVN服务器安装配置 下的svn 常用命令
  • 原文地址:https://www.cnblogs.com/webgg/p/5343854.html
Copyright © 2020-2023  润新知