@font-face {
font-family: Sahel;
src: url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel.eot');
src: url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel.eot?#iefix') format('embedded-opentype'),
url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel.woff') format('woff'),
url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel.ttf') format('truetype');
font-weight: normal;
}
@font-face {
font-family: Sahel;
src: url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Bold.eot');
src: url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Bold.eot?#iefix') format('embedded-opentype'),
url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Bold.woff') format('woff'),
url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Bold.ttf') format('truetype');
font-weight: bold;
}
@font-face {
font-family: Sahel;
src: url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Black.eot');
src: url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Black.eot?#iefix') format('embedded-opentype'),
url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Black.woff') format('woff'),
url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel-Black.ttf') format('truetype');
font-weight: 900;
}
یا
<link href='https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel.css' rel='stylesheet' type='text/css'>
یا
@import url('https://cdn.fontcdn.ir/Font/Persian/Sahel/Sahel.css');
دوست عزیز سلام
در قسمت Font-family شما باید نام فونت خودتون بنویسید ! شما فرمت مورد نظر گذاشتین
یک بار به این صورت تست کنید ببینید درست میشه ؟
@font-face {
font-family: sahel-bold;
src: url("../fonts/sahel-bold.eot") format("eot"),
url("../fonts/sahel-bold.woff") format("woff"),
url("../fonts/sahel-bold.woff2") format("woff2");
}