0

What about google fonts end's tag ?

What about google fonts end's tag ? so @font-face { font-family:Indie Flower; src:url("Indie Flower.?"); } What do you put instead of the question mark ? otf ? ttf ? for Google Fonts ? thanks for your answer !

21st May 2018, 8:04 PM
S. Kaouche
S. Kaouche - avatar
3 Answers
0
So when you pick a font, you need to copy the URL and paste into the address bar. It will take you to a page with CSS typed out on the screen. Copy the appropriate language. Paste into CSS file. Should look like this... /* latin */ @font-face { font-family: 'Indie Flower'; font-style: normal; font-weight: 400; src: local('Indie Flower'), local('IndieFlower'), url(https://fonts.gstatic.com/s/indieflower/v9/m8JVjfNVeKWVnh3QMuKkFcZVaUuH99GUDg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
24th May 2018, 12:24 AM
Derek Stockton
Derek Stockton - avatar
0
You may remove the local “src” and just use the URL source.
24th May 2018, 12:25 AM
Derek Stockton
Derek Stockton - avatar
0
Do we have to put the font name between tow ("), for defining a new font to the browser?
4th Sep 2018, 3:24 AM
Farshad Assarpour
Farshad Assarpour - avatar