Using font icons

Retina or high-definition (HD) display makes everything on the screen look sharper and more vibrant. But, the problem lies with the legacy images or web icons brought before the advent of HD display. These images typically are served as a bitmap or a raster image, and they turn blurry on this screen, as shown in the following screenshot:

Using font icons

A series of icons that blur on the edges, as displayed in retina display

We do not want that to happen in our website, so we will have to use a font icon that is more scalable and stays sharp in a high-definition screen.

To tell the truth, Bootstrap ships with a font icon set called Glyphicon. Sadly, ...

Get HTML5 and CSS3: Building Responsive Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.