Skip to content

Instantly share code, notes, and snippets.

📚
Busy studenting

Jonathan Lam jlam55555

📚
Busy studenting
Block or report user

Report or block jlam55555

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jlam55555
jlam55555 / font.css
Created Jul 20, 2016
A demonstration of how to use fonts in CSS
View font.css
/*
define the font
font file at "font.ttf" in same directory as this CSS file
*/
@font-face {
src: url(font.ttf);
font-family: myfont;
}
/* use the font with "font-family" just like any other font */
You can’t perform that action at this time.