You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
I suspect that someone should just write a Pull Request for this change and see what happens.
:-)
I don't see a reason NOT to make this change.....
Also, not seeing any urgency to it.
Basis has the following in its
base.css
file:According to CSS-Tricks, this is an old method of setting
box-sizing
. There's an updated method that may be better: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
The text was updated successfully, but these errors were encountered: