zoukankan      html  css  js  c++  java
  • 项目开发前准备——清除默认样式

    清除默认样式代码:

       

     1 @charset "utf-8";
     2 html,body,ul,li,ol,dl,dd,dt,p,h1,h2,h3,h4,h5,h6,form,fieldset,legend,img,input{
     3     margin:0;
     4     padding:0;
     5 }
     6 body{
     7     font-size:16px;
     8     font-family: "微软雅黑";
     9 }
    10 h1,h2,h3,h4,h5,h6{
    11     font-size:16px;
    12     font-weight: normal;
    13 }
    14 ul,ol,li{
    15     list-style:none;
    16 }
    17 em,i{
    18     font-style: normal;
    19 }
    20 b,strong{
    21     font-weight: normal;
    22 }
    23 a,u{
    24     text-decoration: none;
    25 }
    26 img{
    27     border:0;
    28 }
    29 input{
    30     outline: none;
    31 }
    32 input{
    33     border: 0;
    34     background-color:transparent;
    35     outline: none;
    36     margin: 0;
    37 }
    38 /* 公共样式 */
    39 .border_none{
    40     border:none!important;
    41 }
    42 .border-left_none{
    43     border-left:none!important;
    44 }
    45 .border-right_none{
    46     border-right:none!important;
    47 }
    48 .float_left{
    49     float:left;
    50 }
    51 .float_right{
    52     float:right;
    53 }
    54 .margin-right0{
    55     margin-right: 0!important;
    56 }
    57 .bg_none{
    58     background:none!important;/*清除背景*/
    59 }
    60 .clear_fix:after{
    61     content:".";
    62     clear:both;
    63     display:block;
    64     height:0;
    65     overflow:hidden;
    66     visibility: hidden;
    67 }
  • 相关阅读:
    MYSQL分页优化查询
    13_java之final|static|包|匿名对象|代码块|内部类
    12_java之构造方法|this|super
    11_java之接口和多态
    10_java之继承和抽象类
    09_java之面向对象概述
    08_java超市管理系统
    07_java之练习题
    06_java之类概述
    05_java之方法
  • 原文地址:https://www.cnblogs.com/moluxi/p/13024307.html
Copyright © 2011-2022 走看看