Connect with:
About Me
Alessandro Annini
I'm a freelance developer currently working at Leaff.it/ I really love famo.us framework and its amazing potential and if you're like me, and you want the web to win, please share some snippet of code for the community and grow faster with us
Categories
Meta
Famo.us Code | Change Font
146
post-template-default,single,single-post,postid-146,single-format-standard,ajax_updown_fade,page_not_loaded,,qode-theme-ver-6.2.1

Change Font

19 Jun Change Font

How to reference an external font (from google in this case) and use it with Famo.us.

if you need it cross-browser you can use [thanks to LeXXik]

@font-face {
	font-family: 'bold';
	src: url('../fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'), 
	     url('../fonts/OpenSans-Bold.woff') format('woff'), 
	     url('../fonts/OpenSans-Bold.ttf')  format('truetype'),
	     url('../fonts/OpenSans-Bold.svg#svgFontName') format('svg');
}
custom font css