Use custom font in your website help of @font-face rule
First: you need some font file like - .woff, .ttf etc
Second: download your font using this sites
After downloading that create a folder on your root folder by named font and past it.
then
@font-face {it helps you to create a custom font family name.
font-family: myFont;
src: url(fontname.ttf);
}
now your site is ready to use this
h1{
font-family: myFont;
}
Comments
Post a Comment