The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Em cascading issue Reply To: [Solved] Em cascading issue

Chris House

The obvious solution to this problem is to use rems instead of ems. Rems are based on the HTML element instead of the parent, so they don’t compound. Browser support isn’t perfect but there’s a good polyfill: