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
Welcome to the Backdrop CMS community! For me, Backdrop CMS came to deliver exactly what I had wished for in Drupal 7 — especially its low resource consumption and its ability to run on...
What Makes a Good CMS Experience for Website Owners and Developers?
Here's a fun hack: You can remove any css file in a custom theme by defining a file with the same name in the theme's info file, but not actually having a file with that name in the theme...
How to get rid of grid-flexbox.css
What is demoralizing for the maintaineers when someone mentions the flaw of a useless buggy feature? A different opinion should always be a motivation not otherwise. I will mark this one...
Files uploaded using add file