Skip to content

Instantly share code, notes, and snippets.

@ivanteoh
Created July 5, 2020 05:47
Show Gist options
  • Save ivanteoh/1b456a8d216453cc14bfd6317b461275 to your computer and use it in GitHub Desktop.
Save ivanteoh/1b456a8d216453cc14bfd6317b461275 to your computer and use it in GitHub Desktop.
WordPress Theme Development 11 - Reset Stylesheet
/* *** 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