-12

・ ❄︎・❆・❅・❆・❄︎ ・

  • they/it

12.10.3.1 Interesting Cases of Automatic Semicolon Insertion in Statement Lists


a while ago i stopped using * { box-sizing: border-box; }, and i think flex/grid have made it obsolete, maybe

it feels like i use the default (box-sizing: content-box) equally/more often, when i manually specify an element's size,
since, usually what i care about in those cases is amount of room inside the element, while controlling how much space it takes up is handled by flex/grid.


You must log in to comment.

in reply to @-12's post:

there are some props that i still apply to every element,
most importantly: word-wrap: break-word, which forces long words to wrap instead of overflowing (every page should use this (or word-break: break-word, which is subtly different)
(note: those are equivalent to the newer overflow-wrap: break-word and anywhere, respectively)