/ Published in: CSS
URL: http://meyerweb.com/eric/tools/css/reset/
This css reset is from http://meyerweb.com/eric/tools/css/reset/ website but i manage to add some things :)
Expand |
Embed | Plain Text
/* -------------------- Reset ------------------- */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body {line-height: 1;} ol, ul {list-style: none;} blockquote, q {<a class="inlineAdmedialink" href="#">quotes</a>: none;} blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;} table {border-collapse: collapse; border-spacing: 0;} html {overflow-y:scroll;} /*---------------Clearfix----------------*/ .clearfix:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} .clearfix {display: inline-block;} html[xmlns] .clearfix {display: block;} * html .clearfix {height: 1%;} /*---------------Clearfix----------------*/ /*-----------Outline-------------------*/ :-moz-any-link:focus { outline: none;} a {outline:none;} input { outline: none; } /* removes the line of input when focus in chrome and <a class="inlineAdmedialink" href="#">safari</a> */ textarea {resize:none;} /*-----------Outline-------------------*/ /* -------------------- Reset ------------------- */ /* ------------------ The CSS -------------------- */ /* set the body styles */ body {<a class="inlineAdmedialink" href="#">font</a>:normal 13px/18px Arial, Helvetica, sans-serif; color:#444;} .left {float:left;} .right {float:right;} .position_r {position:relative;} .position_a {position:absolute;} .display_b {display:block;} .full_width {width:100%;} /* Headings */ h1 {font-size:18px; line-height:25px;} h2 {font-size:16px; line-height:22px;} h3 {font-size:14px; line-height:10px;} h4 {font-size:13px; line-height:18px;} h5 {font-size:12px; line-height:17px;} h6 {font-size:11px; line-height:16px;} /* set the links styles */ a {<a class="inlineAdmedialink" href="#">color</a>:#00B5CF; text-decoration:none;} a:hover {color:#00B5CF; text-decoration:underline;} /* set th slection background color */ ::selection { background: #ff0000; color:white; /* Safari */ } ::-moz-selection { background: #ff0000; color:white; /* <a class="inlineAdmedialink" href="#">Firefox</a> */ } /* Set the sprites url */ .sprites {background:url(images/sprites.png);} /* input and textarea focus */ input:focus, textarea:focus { background:#ddd; }
You need to login to post a comment.
