4 ms·
As a hack, if you can't use a uniwidth font, you can simulate bold font by having a `text-shadow` of the same color offset 1px to the right. This is helpful fo
by hkai 6y ago
As a hack, if you can't use a uniwidth font, you can simulate bold font by having a `text-shadow` of the same color offset 1px to the right.
This is helpful for UI elements that need to become bold when selected.
- john-doe 6y agoBut then it's a faux bold, and it's a no-no in typography. Her's a better technique: https://css-tricks.com/bold-on-hover-without-the-layout-shift/ https://css-tricks.com/bold-on-hover-without-the-layout-shif...