html
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Font+Name">
css
body {
font-family: 'Font Name', serif;
}
text
https://fonts.googleapis.com/css?family=Font+Name
text
https://fonts.googleapis.com/css?family=Tangerine|Inconsolata|Droid+Sans
StyleSpecifierItalicitalic or iBoldbold or b, or numeric value such as 700Bold Italicbolditalic or bi
Example:
text
https://fonts.googleapis.com/css?family=Cantarell:italic|Droid+Serif:bold
text
https://fonts.googleapis.com/css?family=Roboto&display=swap
text
https://fonts.googleapis.com/css?family=Roboto+Mono&subset=cyrillic,greek
Specify the characters needed to reduce the font file size by up to 90%:
text
https://fonts.googleapis.com/css?family=Inconsolata&text=Hello%20World
text
https://fonts.googleapis.com/css?family=Rancho&effect=shadow-multiple
Usage:
html
<div class="font-effect-shadow-multiple">This is a font effect!</div>
EffectAPI NameClass Name3D3dfont-effect-3d3D Float3d-floatfont-effect-3d-floatAnaglyphanaglyphfont-effect-anaglyphNeonneonfont-effect-neonShadow Multipleshadow-multiplefont-effect-shadow-multipleVintagevintagefont-effect-vintage