Home › Forums › CSS › Using my own Font for Icon Class › Re: Using my own Font for Icon Class
February 13, 2013 at 3:44 pm
#124486
tomrogers123
Member
If you have the rule defined linking up the sources, you just use it in whatever selectors you want based on the name you gave it, eg:
.icon-starz {
font-family: “Font1”, Helvetica, Serif /* always include fallback for non-supporting browsers */
}
In there, you can also set other font attributes in the usual manner. On a side note, I would really recommend using a more descriptive name than font1 as, if you end up with lots of declarations, it might get confusing to work out which is which.