[CSS]自己用的CSS Rest

兼容HTML5 tags


@charset "utf-8";
* { -webkit-text-size-adjust:none; }
/*html4 reset*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
	margin:0;
	padding:0; 
}
fieldset, img {
	border:0 none;
}
address, caption, cite, code, dfn, em, th, var, b,h1,h2,h3 {
	font-style:normal;
	font-weight:normal;
}
ol, ul, li {
	list-style-type:none
}
q:before, q:after {
	content:'';
}
abbr, acronym {
	border:0;
	font-variant:normal;
}
/*html5 reset*/
header, footer, section, nav, menu, details, hgroup, figure, figcaption, article, aside {
	margin:0;
	padding:0;
	display:block;
}

.clear {clear:both;font-size:0;height:0;line-height:0;overflow:hidden;}
.clearfix:after {clear:both;content:" ";display:block;font-size:0;height:0;visibility:hidden;}
.clearfix{zoom:1;}

最后为清除浮动样式。


你可能感兴趣的:(css,html5,REST,input,border,menu)