HTML5 reset includes box-model reset for newer browsers.

This commit is contained in:
Eric Meyer 2010-09-24 16:52:37 -06:00
parent 3bd06d3033
commit 2ff13efce1

View File

@ -102,9 +102,11 @@
// Unrecognized elements are displayed inline. // Unrecognized elements are displayed inline.
// This reset provides a basic reset for html5 elements // This reset provides a basic reset for html5 elements
// so they are rendered correctly in browsers that don't recognize them. // so they are rendered correctly in browsers that don't recognize them
// and reset in browsers that have default styles for them.
@mixin reset-html5 { @mixin reset-html5 {
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
@include reset-box-model;
display: block; } } display: block; } }
// Resets the display of inline and block elements to their default display // Resets the display of inline and block elements to their default display