首页 > Web开发 > 详细

base.css

时间:2019-06-30 17:15:10      阅读:176      评论:0      收藏:0      [点我收藏+]
 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, \\5b8b\4f53, 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     width: 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 }

 

base.css

原文:https://www.cnblogs.com/zhangzhengyang/p/11110238.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!