Skip to content

Instantly share code, notes, and snippets.

@firefoxrebo
Created July 14, 2012 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save firefoxrebo/3110843 to your computer and use it in GitHub Desktop.
Save firefoxrebo/3110843 to your computer and use it in GitHub Desktop.
My Reset File
@charset utf-8;
/*
Eng. Mohammed Yehia Abdul Mottalib
CSS Reset
Note: This reset might and might not work for you so please
be sure to take some time to go through it before using it. I don't
use some tags like mark ins and so on so i excluded then from the list
*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, q, pre, em, strong, b, i, a, img, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, input, select, textarea, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
}
/* This rule is for HTML5 tags to get displayed as blocks in older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary {
display:block;
}
nav, ul, ol {
list-style:none;
}
q {
quotes:none;
}
q:after, q:before {
content: no-open-quote;
content: no-close-quote;
}
/* Link Pseudo Classes */
:link, :visited {
color:#003366;
}
/* Dynamic Pseudo Class :focus
this one i had made to override browsers
default UA stylesheet rule for :focus like
Google Chrome
*/
:focus {
border:none;
outline:none;
}
table {
border-collapse:collapse;
}
/* Some browsers uses 1.1 or 1.2 line height like firefox */
body {
/*line-height:1;*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment