Hacker News new | ask | show | jobs
by jukkakoskinen 1674 days ago
I'd recommend defining box-sizing: border-box for html element and then applying box-sizing: inherit for *, *::before and *::after selectors. This makes it easier to override the box-sizing for 3rd party components that might rely on the default model.