zoukankan      html  css  js  c++  java
  • CSS初始化代码

    css初始化代码整理。

    /*初始化 start*/
    body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,select,button,textarea,p,blockquote,table,th,td { margin:0; padding:0; border: 0;}
    body { background:#fff; color:#333; font-size:14px; line-height: 1; font-family: Verdana, Arial, Helvetica, sans-serif; -webkit-text-size-adjust:100%;}
    td,th,caption { font-size:14px; }
    h1, h2, h3, h4, h5, h6 { font-weight:normal; font-size:100%; }
    address, caption, cite, code, dfn, em, strong, th, var, i { font-style:normal; font-weight:normal;}
    a,a:hover { color:#333; text-decoration:none; }
    img { border:none; vertical-align:middle}
    ol,ul,li { list-style:none; }
    input, textarea, select, button { font:14px Verdana,Helvetica,Arial,sans-serif; outline: none; resize: none;}
    table { border-collapse:collapse;border-spacing:0}
    .clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
    .clearfix { *zoom:1; }
    /*初始化 end*/
  • 相关阅读:
    揭秘富人的22种习惯与风格
    CSS
    浏览器--编辑器
    3 位运算 , 补码 ----在开发中比较少用
    2 Java数据类型+转义字符
    1 概述
    如何使用大脑
    JDBC
    web.xml文件的作用
    WindowBuilder插件探索
  • 原文地址:https://www.cnblogs.com/laq627/p/8125269.html
Copyright © 2011-2022 走看看