amin7x
یک شنبه 27 مرداد 1392, 15:23 عصر
سلام
میخواستم بدونم اگه من از سه فونت توی طراحی وب سایتم استفاده کنم چه قدر توی سرعت لود سایتم تاثیر داره؟
من برای فراخوانی این سه فونت از روش زیر استفاده کردم.
@font-face {
font-family: 'PTN';
src: url('fonts/PTN.eot?#') format('eot'),
url('fonts/PTN.woff') format('woff'),
url('fonts/PTN.ttf') format('truetype');
}
@font-face {
font-family: 'BElham';
src: url('fonts/BElham.eot?#') format('eot'),
url('fonts/BElham.woff') format('woff'),
url('fonts/BElham.ttf') format('truetype');
}
@font-face {
font-family: 'BKoodakBold';
src: url('fonts/BKoodakBold.eot?#') format('eot'),
url('fonts/BKoodakBold.woff') format('woff'),
url('fonts/BKoodakBold.ttf') format('truetype');
}
سایز این سه فونت (با فرمت های مختلف) روی هم شده ~308 کیلوبایت.
ممنون
میخواستم بدونم اگه من از سه فونت توی طراحی وب سایتم استفاده کنم چه قدر توی سرعت لود سایتم تاثیر داره؟
من برای فراخوانی این سه فونت از روش زیر استفاده کردم.
@font-face {
font-family: 'PTN';
src: url('fonts/PTN.eot?#') format('eot'),
url('fonts/PTN.woff') format('woff'),
url('fonts/PTN.ttf') format('truetype');
}
@font-face {
font-family: 'BElham';
src: url('fonts/BElham.eot?#') format('eot'),
url('fonts/BElham.woff') format('woff'),
url('fonts/BElham.ttf') format('truetype');
}
@font-face {
font-family: 'BKoodakBold';
src: url('fonts/BKoodakBold.eot?#') format('eot'),
url('fonts/BKoodakBold.woff') format('woff'),
url('fonts/BKoodakBold.ttf') format('truetype');
}
سایز این سه فونت (با فرمت های مختلف) روی هم شده ~308 کیلوبایت.
ممنون