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
GitHub Issue #:
4208
Recent comments
Argiepiano, you're incredibly helpful; I should have paid closer attention to the error notifications.
D7->B, How do I specify multiple databases in settings.php
I think I've got a handle on Layouts. What is the difference between Cards and Blocks?
Themes: anything like ZEN?
I don't think I said that I liked Zen :-) It's just that I used it on a couple of fairly large sites and was comfortable with it. Learning layouts has got to be easier than learning D10. I...
Themes: anything like ZEN?