HTML5 reset includes box-model reset for newer browsers.
This commit is contained in:
parent
3bd06d3033
commit
2ff13efce1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user