Skip to content

Commit

Permalink
fix: Use two colons for pseudo-elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-engel committed Aug 1, 2019
1 parent 46b7fbf commit 266294d
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions reset.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
/* apply a natural box layout model to all elements, but allowing components to change
* https://www.paulirish.com/2012/box-sizing-border-box-ftw/
*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html {
box-sizing: border-box;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

html,
body {
margin: 0;
padding: 0;
min-height: 100%;
width: 100%;
margin: 0;
padding: 0;
min-height: 100%;
width: 100%;
}

0 comments on commit 266294d

Please sign in to comment.