Last active
January 23, 2019 07:30
-
-
Save webshru/582b082c76a2989861884209c6288ba9 to your computer and use it in GitHub Desktop.
Подключение шрифтов на сайт
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: "Name"; | |
font-style: normal; | |
src: url("../fonts/name-Medium.woff2") format("woff2"), | |
url("../fonts/name-Medium.woff") format("woff"); | |
font-weight: 500; | |
} | |
@font-face { | |
font-family: "Name"; | |
font-style: normal; | |
src: url("../fonts/name-Regular.woff2") format("woff2"), | |
url("../fonts/name-Regular.woff") format("woff"); | |
font-weight: 400; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Расширение для гиста выбери, чтоб подсветка заработала