I'm working with some CSS code to keep a footer at the bottom of the page no matter the content, device, browser, etc. I'm wondering though why the :before and :after selectors are needed:
*,
*:before,
*:after {
box-sizing: inherit;
}
To see all the code: https://codepen.io/cbracco/pen/zekgx