码迷,mamicode.com
首页 > 其他好文 > 详细

reset02

时间:2017-03-06 01:00:55      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:pad   sof   oat   bsp   sid   import   res   box   flow   

    @charset "utf-8";

/*基本标签*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
img,
abbr,
address,
cite,
code,
del,
dfn,
em,
ins,
kbd,
q,
s,
samp,
small,
strong,
sub,
sup,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
menu,
nav,
summary,
time,
mark,
audio,
video,
header,
footer {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    text-rendering: optimizeLegibility;
    -webkit-font- smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary {
    display: block;
}

ol,
ul,
li {
    list-style: none;
}

b,
strong {
    font-weight: bold;
}

table {
    border- collapse: collapse;
    border-spacing: 0;
}

caption,
th,
td {
    text-align: left;
    font-weight: normal;
}

img {
    border: 0;
    vertical-align: middle;
}

a {
    text- decoration: none;
    vertical-align: baseline;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.8s ease;
}

a:hover {
    text- decoration: none;
}

a:hover,
a:focus,
a:active {
    outline: 0;
}

body {
    font- size: 12px;
    -ms-word-break: break-all;
    -webkit-word-break: break-all;
    -moz-word- break: break-all;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: #fff;
    color: #333;
    /* font-family:Arial, "Microsoft
YaHei"; */
}


/*自定义公共类样式*/

.border-box,
.border-box::before,
.border-box::after {
    -webkit- box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.border-box-group,
.border-box-group *,
.border-box-group *::before,
.border- box-group *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border- box;
    box-sizing: border-box;
}

.content-box,
.content-box::before,
.content- box::after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box- sizing: content-box;
}

.content-box-group,
.content-box-group *,
.content-box- group *::before,
.content-box-group *::after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.font-one {
    font- family: Arial, "Microsoft YaHei";
}

.font-two {
    font-family: arial, ‘Hiragino
 Sans GB‘, \5b8b\4f53, sans-serif; } .clear { clear:both; } .clearfix { zoom:1;

}

.clearfix::after {
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    content: ‘‘;
}

.none {
    display: none;
}

.border-none {
    border: none !important;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.glo-a {
    color: #0085d0;
}

.glo-a:hover {
    color: #8dc11e;
}

.center {
    /*text-align: center;*/
    margin: 0 auto;
}

.con-box {
    box-sizing: content-box;
}

 

reset02

标签:pad   sof   oat   bsp   sid   import   res   box   flow   

原文地址:http://www.cnblogs.com/rage-the-dream/p/6507305.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!