Last Updated: February 25, 2016
·
894
· declandewet

font-weight: bold; throwing off your vertical rhythm?

The fix probably isn't the best solution, and sometimes, a font change will seem to fix it... But if you're using sans-serif, it'll throw off your rhythm. Here's the fix:

.my-font {
  font-weight: bold;
  vertical-align: top; /* <-- just add this */
}

Credit goes to http://alexmansfield.com/category/css