/* Use the following CSS code if you want to use data attributes for inserting your icons */ [data-icon]:before { font-family: 'icomoon'; content: attr(data-icon); speak: none; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; }
/* Instead of a list of all class selectors, you can use the generic selector below, but it's slower:[class*="icon-"] { */ .icon-newspaper, .icon-office, .icon-pencil { font-family: 'icomoon'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; } .icon-newspaper:before { content: "\e000"; } .icon-office:before { content: "\e001"; } .icon-pencil:before { content: "\e002"; }