-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathreset.css
More file actions
49 lines (47 loc) · 1.56 KB
/
reset.css
File metadata and controls
49 lines (47 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version:2.7.0
*/
/**
* YUI Reset
* @module reset
* @namespace
* @requires
*/
html{color:#000; background:#FFF;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0; padding:0;}
table{border-collapse:collapse; border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit; font-weight:inherit;}
del,ins{text-decoration:none;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%; font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym{border:0; font-variant:normal;}
sup{vertical-align:baseline;}
sub{vertical-align:baseline;}
/*because legend doesn't inherit in IE */
legend{color:#000;}
input,button,textarea,select,optgroup,option{font-family:inherit; font-size:inherit; font-style:inherit; font-weight:inherit;}
/*@purpose To enable resizing for IE */
/*@branch For IE6-Win, IE7-Win */
input,button,textarea,select{*font-size:100%;}
/* comon use */
.fll{float:left;}
.flr{float:right;}
.clear{clear:both; margin:0; padding:0; height:0; line-height:0; font-size:0;}
.hide{display:none;}
.por{position:relative;}
.poa{position:absolute;}
.mau{margin:0 auto;}
.center{text-align:center;}
.h05{height:5px; font-size:0; line-height:0;}
.h10{height:10px; font-size:0; line-height:0;}
.h20{height:20px;}
.h30{height:30px;}
.h40{height:40px;}
.h50{height:50px;}
.h80{height:80px;}