Bold on hover… Without the layout shift

Chris Coyier / filed under HTML & CSS

When you change the font-weight of a font, the text will typically cause a bit of a layout shift.

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission