Skip to content

Commit

Permalink
changing the box-sizing: border-box technique to prioritize the web…
Browse files Browse the repository at this point in the history
…site author over a componant library author

#4 (comment)
  • Loading branch information
jensimmons committed Feb 12, 2019
1 parent 3a9c7e3 commit ffc5b06
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions remedy.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@



html {
box-sizing: border-box; /* Switch to border-box for box-sizing. */
}
*, *:before, *:after {
box-sizing: inherit; /* Switch to border-box for box-sizing. */
}
* { box-sizing: border-box; } /* Switch to border-box for box-sizing. */

/* Immediately jump any animation to the end point if the user has set their device to "prefers reduced motion". */
/* This could create bad unintended consequences. Remove as needed, and write your own appropriate code for prefers-reduced-motion. */
Expand Down

0 comments on commit ffc5b06

Please sign in to comment.