{"id":241528,"date":"2016-05-16T06:01:16","date_gmt":"2016-05-16T13:01:16","guid":{"rendered":"http:\/\/css-tricks.com\/?p=241528"},"modified":"2016-05-16T06:01:16","modified_gmt":"2016-05-16T13:01:16","slug":"tips-aligning-icons-text","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/tips-aligning-icons-text\/","title":{"rendered":"Tips for Aligning Icons to Text"},"content":{"rendered":"

Icons. They’re popular. They help complement content (most of the time<\/a>). And yet they can be a pain in the neck.<\/p>\n

Once you’ve decided on a format (SVG or icon font?) and designed the set, there are still other considerations, many of which pop up while you’re coding.<\/p>\n

<\/p>\n

Here’s an excellent question that comes up often along those lines:<\/p>\n

\n

@chriscoyier<\/a> #smashingconf<\/a> any recommendations on how to align #svg<\/a> icons to text?<\/p>\n

— Andreas Sahle (@pixelmord) October 20, 2015<\/a><\/p><\/blockquote>\n