zoukankan      html  css  js  c++  java
  • css格式化代码

     1 @charset "utf-8";
     2 body{margin:0px; padding:0px; margin:0px auto; font-size:14px; line-height:24px; color:#606060; width:100%; min-width:1000px; width:expression((documentElement.clientWidth < 1000) ? "1000px" : "100%" ); zoom:1; font-family:微软雅黑;}
     3 a,ul,li,form, dl,dt,dd, div,aside,figcaption,article,h1,h2,h3,h4,h5,h6,p,i,em{ font-style:normal;padding: 0px; margin: 0px;list-style:none; font-weight:normal; }
     4 select,input,textarea{ border-radius:2; -webkit-border-radius:2; color:#666666; font-size:12px; font-family:"微软雅黑",Arial;}
     5 input:focus { outline: none;}
     6 form,input,button,select,textarea{outline:none;/*-webkit-appearance:none;*//*强制去除表单自带的样式*/ vertical-align:middle;}
     7 textarea{resize:none;/*-webkit-appearance:none;*//*强制去除textarea自带的样式*/ }
     8 textarea,input,select { border:none; margin:0; padding:0;}
     9 article,aside,footer,header,hgroup,nav,section,figure,figcaption{ display: block;} /*html5设置*/
    10 figure,figcaption{ margin:0px; padding:0px;}
    11 form,input{margin:0px; padding:0px;}
    12 audio,canvas,progress,video { display: inline-block; vertical-align: baseline;}
    13 img{ border:none; border:0;  vertical-align:top;padding:0;margin:0;}
    14 a{ color:#606060; text-decoration:none;cursor:pointer;}
    15 a:focus {outline:none; -moz-outline:none;}
    16 a:hover{ text-decoration:none; color:#000000;}
    17 .fl{ float:left;}.fr{ float:right;}
    18 .clear{ clear:both;}
    19 .clearfix{overflow:hidden;_zoom:1;}
    20 .w1100{width: 1100px;margin: 0 auto;}
  • 相关阅读:
    hdu 1015 Safecracker 暴力搜索
    hdu 1239 Calling Extraterrestrial Intelligence Again 枚举
    hdu 3747 Download 菜鸟杯
    hdu 3744 A Runing Game 菜鸟杯
    Request.QueryString 使用时候应该注意的地方。
    图片 上一张 下一张 链接效果
    ASP.NET 输出缓存的移除
    RSS 消费
    RSS 订阅功能的实现
    创建型模式单件模式(1)
  • 原文地址:https://www.cnblogs.com/ghfjj/p/6306218.html
Copyright © 2011-2022 走看看