Created
July 14, 2012 11:58
-
-
Save firefoxrebo/3110843 to your computer and use it in GitHub Desktop.
My Reset File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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