• 重置HTML


    html,body,ul,li,ol,dl,dd,dt,p,h1,h2,h3,h4,h5,h6,form,fieldset,legend,img{margin:0;padding:0}
    fieldset,img{border:0}
    img{display:block}
    address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal}
    ul,ol{list-style:none}
    input{padding-top:0;padding-bottom:0;font-family:"SimSun","宋体"}
    input::-moz-focus-inner{border:0;padding:0}
    select,input{vertical-align:middle}
    select,input,textarea{font-size:12px;margin:0}
    input[type="text"],input[type="password"],textarea{outline-style:none;-webkit-appearance:none}
    textarea{resize:none}
    table{border-collapse:collapse}
    body{color:#333;padding:5px 0;font:12px/20px "SimSun","宋体","Arial Narrow",HELVETICA;background:#fff}
    .clearfix:after{content:".";display:block;height:0;visibility:hidden;clear:both}
    .clearfix{zoom:1}.clearit{clear:both;height:0;font-size:0;overflow:hidden}
    .fl{float:left;_display:inline}.fr{float:right;_display:inline}
    a{color:#666;text-decoration:none}
    a:visited{color:#666}
    a:hover,a:active,a:focus{color:#ff8400;text-decoration:underline}

  • 相关阅读:
    Swift Optional
    cocoapods 配置
    winform窗体全屏
    SQLiteDatabase的使用
    探索Gallery和ImageSwitcher布局
    常用布局参考
    增加动画的效果
    AlertDialog的写法
    自定义Toast
    适配器的经典写法
  • 原文地址:https://www.cnblogs.com/acmwangpeng/p/5564279.html
Copyright © 2020-2023  润新知