How to set the CSS content property with a Google Material Icon?

Update on 2018 Google removed the codes which were displayed earlier for IE9 and below. To get the codes visit the codepoints file in the GitHub repository. Link to codepoints in GitHub repository: https://github.com/google/material-design-icons/blob/master/font/MaterialIcons-Regular.codepoints Step 1: Include the Material Icons Stylesheet. <link href=”https://fonts.googleapis.com/icon?family=Material+Icons” rel=”stylesheet”> Step 2 : CSS Code: .bullet li a:before { font-family: “Material … Read more

How to use the new Material Design Icon themes: Outlined, Rounded, Two-Tone and Sharp?

Update (31/03/2019) : All icon themes work via Google Web Fonts now. As pointed out by Edric, it’s just a matter of adding the google web fonts link in your document’s head now, like so: <link href=”https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp” rel=”stylesheet”> And then adding the correct class to output the icon of a particular theme. <i class=”material-icons”>donut_small</i> <i … Read more

tech