Custom Font Laravel
@font-face {
src: url('/../fonts/custom-font.woff');
font-family: "custom-font";
}
h1, h2, h3, h4, h5, h6 {
font-family: "custom-font";
}
Custom Font Laravel
@font-face {
src: url('/../fonts/custom-font.woff');
font-family: "custom-font";
}
h1, h2, h3, h4, h5, h6 {
font-family: "custom-font";
}
font in html page laravel
// app.css in css folder in public folder used in app.blade
// app.blade is the parent and master page for all of your another pages
// upload font in public/fonts
// then add this to app.css or in main.css
@font-face {
src: url('/../fonts/custom-font.woff');
font-family: "custom-font";
}
// then use every where you want like this
h1, h2, h3, h4, h5, h6 {
font-family: "custom-font";
}
// or
@font-face {
font-family: 'iranyekan-regular';
font-style: normal;
font-weight: normal;
src: url('../../../assets/fonts/IranYekan/Normal/eot/iranyekanwebregularfanum.eot');
src: url('../../../assets/fonts/IranYekan/Normal/woff/iranyekanwebregularfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../../../assets/fonts/IranYekan/Normal/ttf/iranyekanwebregularfanum.ttf') format('truetype');
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us