Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wlippold/c2b0a924c17795842e0b0d739bb080ef to your computer and use it in GitHub Desktop.
Save wlippold/c2b0a924c17795842e0b0d739bb080ef to your computer and use it in GitHub Desktop.
How to change a font in CSS using Google Fonts?
<html>
<head>
<title>How to change a font in CSS using Google Fonts?</title>
<link rel="stylesheet" href="style.css">
</head>
<body style="background-color:#ffffff;">
<div style="text-align:center">
<p style="font-size:100px; font-family:Mystery Quest; color:red;">This Font is very Cool!!</p>
</div>
</body>
</html>
/** Go to http://www.google.com/fonts (change font)--> **/
@import url('https://fonts.googleapis.com/css?family=Mystery+Quest');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment