google fonts

Diskutiere google fonts im CSS Forum im Bereich Programmierung; hello, i tried to understand why sometimes are google fonts detected on websites...so i want to create a css file that forces to insert google...
T

tnmultimedia

New member
Beiträge
1
Punkte Reaktionen
0
hello,
i tried to understand why sometimes are google fonts detected on websites...so i want to create a css file that forces to insert google fonts to a website...i tried this...but it doesn't work...

`@import url("https://fonts.googleapis.com/css?fa...sans:400,500,700|google+sans+text:400&lang=de")!important; /* Using a url */

@font-face {
font-family: "Roboto"!important;
url("https://fonts.gstatic.com/s/roboto/v30/kfomcnqeu92fr1mu4mxk.woff2")
format("woff")!important;
}
body {
font-family: "Roboto"!important;
}`


what is my mistake???
cheers Thomas
 
Thema:

google fonts

Oben Unten