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
Hello, @yorkshirepudding! Thanks a lot, I got it, all sorted out.
My layout template (layout--blog.tpl.php) doesn't work
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform