Created
July 5, 2020 05:47
-
-
Save ivanteoh/1b456a8d216453cc14bfd6317b461275 to your computer and use it in GitHub Desktop.
WordPress Theme Development 11 - Reset Stylesheet
This file contains hidden or 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
/* *** Reset *** */ | |
/* Based upon YUI Reset CSS in the Yahoo! User Interface Library: | |
http://developer.yahoo.com/yui/reset/ */ | |
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, | |
fieldset, input, textarea, p, blockquote, th, td { | |
margin: 0; | |
padding: 0; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
fieldset, img { | |
border: 0; | |
} | |
address, caption, cite, code, dfn, em, strong, th, var { | |
font-style: normal; | |
font-weight: normal; | |
} | |
ol, ul, li { | |
list-style: none; | |
} | |
caption, th { | |
text-align: left; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-size: 100%; | |
font-weight: normal; | |
} | |
q:before, q:after { | |
content: ''; | |
} | |
abbr, acronym { | |
border: 0; | |
} | |
/* The below restores some sensible defaults */ | |
strong { | |
font-weight: bold ; | |
} | |
em { | |
font-style: italic; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment