Google Webfonts Cheat Sheet

From WikiOD

Here is the cheatsheat of Google Webfonts and basic guide on how to use Google Webfonts

Link tag[edit | edit source]

<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />

CSS import[edit | edit source]

/* 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!

Credit:rstacruz