Skip to content

Instantly share code, notes, and snippets.

@misterebs
Created October 11, 2016 12:51
Show Gist options
  • Save misterebs/22909b9ef7976d23fb4ab284339df869 to your computer and use it in GitHub Desktop.
Save misterebs/22909b9ef7976d23fb4ab284339df869 to your computer and use it in GitHub Desktop.
My Css Reset
/* reset styles */
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, 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 {
margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%;
vertical-align: baseline; background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
body {
font-size: 62.5%;
text-align: center;
color: #000000;
}
/* container - place inside each section or around the entire page depending on your layout */
.container {
width: 960px;
margin: 0 auto;
text-align: left;
position: relative;
}
/* for clearing any floats <br class=&quot;clearfloat&quot; /> */
.clearfloat {
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
/*--- header section - put whatever you want here ---*/
#header {
}
/*--- horizontal &quot;block&quot; menu ---*/
#menu {
float: left;
}
#menu li {
display: block;
float: left;
}
#menu li a {
display: block;
text-decoration: none;
height: 50px;
width: 125px;
padding: 5px 10px 5px 10px;
}
/* wordpress specific menu stylings */
#menu li.current_page_item a {
}
#menu li.first a {
}
#menu li.last a {
}
/*--- content section - put whatever you want here ---*/
#content {
font: 1.2em Verdana, Arial, Helvetica, sans-serif;
}
/*--- footer section - put whatever you want here ---*/
#footer {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment