zoukankan      html  css  js  c++  java
  • css样式

    这是CSS的定义经常用到的样式:

    body{ width:100%; background:#000; text-align:center;font:12px "宋体", Arial, Helvetica, sans-serif; color:#d9d9d9; line-height:20px;}
    *{ padding:0; margin:0;}
    .clear{ clear:both; width:100%; height:0px; overflow:hidden;}
    .hidden{ display:none;}
    .clearfix:after { clear:both; content:' '; display:block; font-size:0; line-height:0; visibility:hidden; width:0; height:0}
    * html .clearfix, *:first-child+html .clearfix { zoom:1 }
    ul,li{ list-style-type:none;}
    i,em,b{ font-style:normal;}
    img{ border:none;vertical-align:middle}
    a{text-decoration:none; border:none;}
    a:link { color: #0033ff; text-decoration: none;}
    a:visited { text-decoration: none;}
    a:hover { text-decoration: none; color: #FF0000;}
    a:active { text-decoration: none;}
    table{ border-collapse:collapse; border-spacing:0;}  
  • 相关阅读:
    构建之法阅读笔记2
    2020.2.10
    2020.2.9
    2020.2.8
    2020.2.7
    2020.2.6
    2020.2.5
    学习进度——第十三周
    PHPStorm+XAMPP开发php项目
    第一阶段成果建议
  • 原文地址:https://www.cnblogs.com/zxiong/p/4545526.html
Copyright © 2011-2022 走看看