html5 reset.css

/* HTML5 Doctor CSS Reset – 20140402 */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
img{vertical-align:middle;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

/* xoyoer*/
.z{float:left;display:inline}.y{float:right;display:inline}
.pr{ position:relative}.pa{ position:absolute}
.cl:after { content: “.”; display: block; height: 0; clear: both; visibility: hidden; } .cl { zoom: 1; }
.f12{font-size:12px;}.f14{font-size:14px;}.f16{font-size:16px;}.f18{font-size:18px;}.f20{font-size:20px;}.f23{font-size:23px;}.f30{font-size:30px;}
.dbno{display:none;}.db{display:block;}
.radius2{border-radius: 2px;-webkit-border-radius: 2px;-moz-border-radius: 2px;}
.radius4{border-radius: 4px;-webkit-border-radius: 4px;-moz-border-radius: 4px;}

Media Screen

<!doctype html>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Media Query Demos</title>
<style type=”text/css”>
.wrapper {
border: solid 1px #666;
padding: 10px;
margin: 20px;
}
.viewing-area span {
color: #666;
display: none;
}
/* max-width */
@media screen and (max-width: 600px) {
.one {
background: #f30;
}
span.lt600 {
display: inline-block;
}
}
/* min-width */
@media screen and (min-width: 900px) {
.two {
background: #f30;
}
span.gt900 {
display: inline-block;
}
}
/* min-width & max-width */
@media screen and (min-width: 600px) and (max-width: 900px) {
.three {
background: #f30;
}
span.bt600-900 {
display: inline-block;
}
}
/* max device width */
@media screen and (max-device-width: 480px) {
.iphone {
background: #ccc;
}
}
</style>
</head>
<body>
<div class=”wrapper one”>This box will turn to pink if the viewing area is less than 600px</div>
<div class=”wrapper two”>This box will turn to orange if the viewing area is greater than 900px</div>
<div class=”wrapper three”>This box will turn to blue if the viewing area is between 600px and 900px</div>
<div class=”wrapper iphone”>This box will only apply to devices with max-device-width: 480px (ie. iPhone)</div>
<p class=”viewing-area”><strong>Your current viewing area is:</strong>
<span class=”lt600″>less than 600px</span>
<span class=”bt600-900″>between 600 – 900px</span>
<span class=”gt900″>greater than 900px</span></p>
</body>
</html>