Check out this page on fonts4web
The way to connect the font is different from yours. To switch the font used font-family
change. Also fonts with different styles are connected with different names font-family
/* font-family: "SegoeUIRegular"; */ @font-face { font-family: "SegoeUIRegular"; src: url("../fonts/SegoeUIRegular/SegoeUIRegular.eot"); src: url("../fonts/SegoeUIRegular/SegoeUIRegular.eot?#iefix")format("embedded-opentype"), url("../fonts/SegoeUIRegular/SegoeUIRegular.woff") format("woff"), url("../fonts/SegoeUIRegular/SegoeUIRegular.ttf") format("truetype"); font-style: normal; font-weight: normal; } /* font-family: "SegoeUIBold"; */ @font-face { font-family: "SegoeUIBold"; src: url("../fonts/SegoeUIBold/SegoeUIBold.eot"); src: url("../fonts/SegoeUIBold/SegoeUIBold.eot?#iefix")format("embedded-opentype"), url("../fonts/SegoeUIBold/SegoeUIBold.woff") format("woff"), url("../fonts/SegoeUIBold/SegoeUIBold.ttf") format("truetype"); font-style: normal; font-weight: normal; } /* font-family: "SegoeUIItalic"; */ @font-face { font-family: "SegoeUIItalic"; src: url("../fonts/SegoeUIItalic/SegoeUIItalic.eot"); src: url("../fonts/SegoeUIItalic/SegoeUIItalic.eot?#iefix")format("embedded-opentype"), url("../fonts/SegoeUIItalic/SegoeUIItalic.woff") format("woff"), url("../fonts/SegoeUIItalic/SegoeUIItalic.ttf") format("truetype"); font-style: normal; font-weight: normal; } /* font-family: "SegoeUILight"; */ @font-face { font-family: "SegoeUILight"; src: url("../fonts/SegoeUILight/SegoeUILight.eot"); src: url("../fonts/SegoeUILight/SegoeUILight.eot?#iefix")format("embedded-opentype"), url("../fonts/SegoeUILight/SegoeUILight.woff") format("woff"), url("../fonts/SegoeUILight/SegoeUILight.ttf") format("truetype"); font-style: normal; font-weight: normal; } /* font-family: "SegoeUISemiBold"; */ @font-face { font-family: "SegoeUISemiBold"; src: url("../fonts/SegoeUISemiBold/SegoeUISemiBold.eot"); src: url("../fonts/SegoeUISemiBold/SegoeUISemiBold.eot?#iefix")format("embedded-opentype"), url("../fonts/SegoeUISemiBold/SegoeUISemiBold.woff") format("woff"), url("../fonts/SegoeUISemiBold/SegoeUISemiBold.ttf") format("truetype"); font-style: normal; font-weight: normal; }
See sample code.
@font-face { font-family: 'SegoeUILight'; src: url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Light/latest.eot'); src: url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Light/latest.eot?#iefix') format('embedded-opentype'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Light/latest.woff') format('woff'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Light/latest.ttf') format('truetype'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Light/latest.svg#web') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'SegoeUIBold'; src: url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.eot'); src: url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.eot?#iefix') format('embedded-opentype'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.woff') format('woff'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.ttf') format('truetype'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Bold/latest.svg#web') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'SegoeUIRegular'; src: url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.eot'); src: url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.eot?#iefix') format('embedded-opentype'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.woff') format('woff'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.ttf') format('truetype'), url('https://is-microsoft.com/fonts/Segoe-UI/Cyrillic/Normal/latest.svg#web') format('svg'); font-weight: normal; font-style: normal; } .bold { font-family: 'SegoeUIBold'; } .light { font-family: 'SegoeUILight'; } .normal { font-family: "SegoeUIRegular"; }
<h3 class="bold"> Π‘ΡΠ΅ΡΡ ΡΡΠΈΡ
ΠΌΡΠ³ΠΊΠΈΡ
ΡΡΠ°Π½ΡΡΠ·ΡΠΊΠΈΡ
Π±ΡΠ»ΠΎΡΠ΅ΠΊ (ΠΎΠΆΠΈΠ΄Π°Ρ bold) </h3> <h3 class="normal"> Π‘ΡΠ΅ΡΡ ΡΡΠΈΡ
ΠΌΡΠ³ΠΊΠΈΡ
ΡΡΠ°Π½ΡΡΠ·ΡΠΊΠΈΡ
Π±ΡΠ»ΠΎΡΠ΅ΠΊ (ΠΎΠΆΠΈΠ΄Π°Ρ notmal) </h3> <h3 class="light"> Π‘ΡΠ΅ΡΡ ΡΡΠΈΡ
ΠΌΡΠ³ΠΊΠΈΡ
ΡΡΠ°Π½ΡΡΠ·ΡΠΊΠΈΡ
Π±ΡΠ»ΠΎΡΠ΅ΠΊ (ΠΎΠΆΠΈΠ΄Π°Ρ light) </h3>