Forum Moderators: not2easy
I downloaded the file without any problem from here...
https:// - plus - fonts.gstatic.com/s/quicksand/v5/sKd0EMYPAh5PYCRKSryvW1tXRa8TVwTICgirnJhmVJw.woff2
Of course you can always get it elsewhere. ;)
I download the woff2 file from Google, took it to a converter site and obtained a woff version.
The two files were then placed in a folder named "fonts" .
In a folder named "css" I placed a CSS file named "sreen.css", which had this content...
@font-face {
font-family:quicksandregular;
src: url(../fonts/quicksandregular.woff) format('woff'),
url(../fonts/quicksandregular.woff2) format('woff2');
font-weight:normal;
font-style:normal;
}
div {
font-family:quicksandregular;
}
The HTML file named "index.htm" used for the test had this content...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1">
<title>Google font test</title>
<link rel="stylesheet" href="css/screen.css" media="screen">
</head>
<body>
<div>Grumpy wizards make toxic brew for the evil Queen and Jack.</div>
</body>
</html>>
The test result corresponded to the example on the Google site.