Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294338

Switch to border-box as default box-model (box-sizing)

$
0
0

Problem/Motivation

Claro uses the default box-model "content-box", what causes unnecessary calculations for width and height (+ min-* & max-*) attributes.

Proposed resolution

Use "border-box" as described here: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-be...

I think border-box still is the de facto standard / best-practise since years, so i don't know why content-box is used in Claro?


Viewing all articles
Browse latest Browse all 294338

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>