zoukankan      html  css  js  c++  java
  • 常用的 css reset,基本的base.css

    @charset "utf-8";
     html {
      overflow-x: hidden;
      overflow-y: auto;
     }
     /*隐藏横向滚动,垂直滚动根据内容自适应(去除IE默认垂直滚动条)*/
     
     body,
     h1,
     h2,
     h3,
     h4,
     h5,
     h6,
     hr,
     p,
     blockquote,
     dl,
     dt,
     dd,
     ul,
     ol,
     li,
     pre,
     fieldset,
     lengend,
     button,
     select,
     input,
     textarea,
     th,
     td {
      /* 清除内外边距 */
     
      margin: 0;
      padding: 0;
     }
     body,
     button,
     input,
     select,
     textarea {
      /* 设置默认字体 */
     
      font: 12px/1 Microsoft YaHei, Helvetica, Arial, SimSun, Arial, Helvetica, sans-serif, Tahoma;
     }
     h1 {
      font-size: 18px;
     }
     h2 {
      font-size: 16px;
     }
     h3 {
      font-size: 14px;
     }
     h4,
     h5,
     h6 {
      font-size: 100%;
     }
     ul,
     ol {
      list-style: none;
     }
     /* 重置列表元素 */
     /* 重置文本格式元素  */
     
     a {
      text-decoration: none;
     }
     a:hover {
      text-decoration: none;
      color: #ff6600;
     }
     q:before,
     q:after {
      content: '';
     }
     /* 重置表单元素 */
     
     legend {
      color: #000;
     }
     fieldset,
     img {
      border: none;
     }
     button,
     input,
     select,
     textarea {
      font-size: 100%;
      /* 使得表单元素在 ie 下能继承字体大小 */
     }
     /* 重置表格元素 */
     
     table {
      border-collapse: collapse;
      border-spacing: 0;
     }
     /* 重置 hr */
     
     hr {
      border: none;
      height: 1px;
     }

     ====================

    以上参考网络资源整理。

  • 相关阅读:
    基于Hadoop的数据仓库Hive
    hadoop课堂测试之数据清洗
    实验6:Mapreduce实例——WordCount
    暑期--第五周
    暑期--第四周
    暑期--第三周
    暑期--第二周
    软件工程——个人课程总结
    周计划03(20201005-20201011)
    周计划02(20200928-20201004)
  • 原文地址:https://www.cnblogs.com/leshao/p/4691159.html
Copyright © 2011-2022 走看看