Google Webfonts

Short snippets on using Google Webfonts in a web page.

A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github

CSS import

CSS import

/* One font */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

/* Combining multiple fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400italic|Montserrat:400,700'');

Great for using with Codepen.io or similar websites!