Basis has the following in its base.css
file:
* {
box-sizing: border-box;
}
According to CSS-Tricks, this is an old method of setting box-sizing
. There's an updated method that may be better:
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
This newer method not only helps with pseudo elements, but also allows easier overriding of box-sizing if need be (see the linked article for more details).
Can/should we update Basis to use the newer method?
Here's a PR: backdrop/backdrop#2991
Recent comments
Hey, everyone, I'm stepping in to provide an update from the Giant Rabbit team that I also posted in github here and here - long story short, we're close to an alpha release. I'll...
Commerce shop system from Drupal
PayPal Checkout works too!
Commerce shop system from Drupal
nice find! the links for the most recently updated issues in the core and contrib queues are a great way to stay on top of things—especially now that the feature freeze is just around the corner...
Seeing what issues are new