• base.css


     1 @charset "UTF-8";
     2 /*初始化*/
     3 blockquote, body, button, dd, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, hr, input, legend, li, ol, p, pre, td, textarea, th, ul {
     4     margin: 0;
     5     padding: 0;
     6     border: 0;
     7     font-weight: normal;
     8     vertical-align: baseline;
     9 }
    10 
    11 html {
    12     font-size: 10px;
    13 }
    14 
    15 body {
    16     font-size: 1.4rem;
    17     background-color: #f2f2f2 !important;
    18     font-family: Microsoft YaHei, tahoma, arial, Hiragino Sans GB, \5b8b4f53, sans-serif;
    19 }
    20 
    21 /*清除列表的默认风格*/
    22 ul, ol, dl {
    23     list-style: none;
    24 }
    25 
    26 /*表单相关的元素*/
    27 fieldset, img, input, button, textarea{
    28     border: none;
    29     margin: 0;
    30     padding: 0;
    31     /*去除外边线*/
    32     outline: none;
    33 }
    34 /*超链接标签*/
    35 a{color: #999;text-decoration: none;}
    36 a:hover{
    37     color: #f8b62b;
    38 }
    39 /*h家族*/
    40 h1,h2,h3,h4,h5,h6{
    41     font-weight: normal;
    42     font-size: 100%;
    43 }
    44 /*浮动*/
    45 .fl{
    46     float: left;
    47 }
    48 
    49 .fr{
    50     float: right;
    51 }
    52 /*清除浮动*/
    53 .clearfix::before,
    54 .clearfix::after{
    55     content: '';
    56     display: table;
    57     clear: both;
    58 }
    59 /*版心*/
    60 .w{
    61      119rem;
    62     margin: 0 auto;
    63 }
    64 
    65 /*水平对齐方式*/
    66 .tl{
    67     text-align: left;
    68 }
    69 
    70 .tr{
    71     text-align: right;
    72 }
    73 
    74 .tc{
    75     text-align: center;
    76 }
    77 
    78 /*页面通用颜色*/
    79 .f8b62b{
    80     color: #f8b62b;
    81 }
  • 相关阅读:
    Pymongo
    asp.net mvc4 使用java异步提交form表单时出现[object object] has no method ajaxSubmit
    C# Activator.CreateInstance()
    GridView中某一列值的总和(web)
    02.[WPF]如何固定窗口的大小
    01.WPF中制作无边框窗体
    C#.net时间戳转换
    org.springframework.beans.factory.BeanCreationException: 求教育!
    log4Net配置详解
    SQL语句-创建索引
  • 原文地址:https://www.cnblogs.com/zhangzhengyang/p/11110238.html
Copyright © 2020-2023  润新知