Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

@font-face

/*set the font name and the url path*/
@font-face {
  font-family: customFontName;
  src: url(path/to/font/sansation_light.woff);
}

/*add the new font to an element or class, etc*/
p {
 font-family: customFontName; 
}

.myClass{
  font-family: customFontName;
}
Source by wiki.selfhtml.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
6+5 =