Skip to content

Instantly share code, notes, and snippets.

@ElmahdiMahmoud
Created November 14, 2012 07:27
Show Gist options
  • Save ElmahdiMahmoud/4070809 to your computer and use it in GitHub Desktop.
Save ElmahdiMahmoud/4070809 to your computer and use it in GitHub Desktop.
css: reset stylesheet
/*===== reset ===============*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; vertical-align:baseline; }
article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
table { border-collapse:separate; border-spacing:0; }
caption, th, td { text-align:left; font-weight:normal; }
table, td, th { vertical-align:middle; }
blockquote:before, blockquote:after, q:before, q:after { content:""; }
blockquote, q { quotes:"" ""; }
input::-moz-focus-inner { border: 0; }
*:focus { outline: 0; }
a img { border: 0; }
a:active, a:focus { outline:none; }
* { _noFocusLine: expression(this.hideFocus=true);
}
img { max-width: 100%; height: auto; }
@media \0screen { img { width: auto; } }
.clear { visibility: hidden; display: block !important; font-size: 0; content: " "; clear: both; height: 0; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment