GOON adlı üyeden alıntı: mesajı görüntüle
merhaba hocam nasılsınız? tam olarak ne istediğimi yazmıştım aslında,
yerel olarak kullanmak için fonts yükledim sunucuma. bu fontsların kaynak kodlarını da css dosyasına atmam lazım birden fazla aynı isimde olduğu için haliyle kafam karıştı, bu kodları hangi dosyaya atacağım? örnek ;

/* roboto-100 - latin_latin-ext */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/...e/font-display for other options. */
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: url('../fonts/roboto-v30-latin_latin-ext-100.eot'); /* IE9 Compat Modes */
src: url('../fonts/roboto-v30-latin_latin-ext-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-v30-latin_latin-ext-100.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('../fonts/roboto-v30-latin_latin-ext-100.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
url('../fonts/roboto-v30-latin_latin-ext-100.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
url('../fonts/roboto-v30-latin_latin-ext-100.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-100italic - latin_latin-ext */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/...e/font-display for other options. */
font-family: 'Roboto';
font-style: italic;
font-weight: 100;
src: url('../fonts/roboto-v30-latin_latin-ext-100italic.eot'); /* IE9 Compat Modes */
src: url('../fonts/roboto-v30-latin_latin-ext-100italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-v30-latin_latin-ext-100italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('../fonts/roboto-v30-latin_latin-ext-100italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
url('../fonts/roboto-v30-latin_latin-ext-100italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
url('../fonts/roboto-v30-latin_latin-ext-100italic.svg#Roboto') format('svg'); /* Legacy iOS */
tema/style.css içerisine ekleyebilirsiniz