Max Max - 3 years ago 313
CSS Question

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

How can I insert the Google Material Icon "chevron icon right" ( in the following CSS content property:

.bullet li a:before {
content: "";

Answer Source

Step 1: Include the Material Icons Stylesheet.

<link href="" rel="stylesheet">

Step 2 :

CSS Code:

.bullet li a:before {
    font-family: "Material Icons";
    content: "\e5cc";

Explanation: The value e5cc is the code which you see for the chevron.

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download