This font works on w3schools website, but not on my webpage.
1.Use font-face declaration Fonts.
2.Settings font css style
3.DEMO:
Font download site https://www.onlinewebfonts.com/
1.Use font-face declaration Fonts.
Code:
@font-face {font-family: "Avenir Next LT W01 Ultra Light";
src: url("ffd0dcc47a9002be89cc7f900d4e144f.eot"); /* IE9*/
src: url("ffd0dcc47a9002be89cc7f900d4e144f.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("ffd0dcc47a9002be89cc7f900d4e144f.woff2") format("woff2"), /* chrome、firefox */
url("ffd0dcc47a9002be89cc7f900d4e144f.woff") format("woff"), /* chrome、firefox */
url("ffd0dcc47a9002be89cc7f900d4e144f.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
url("ffd0dcc47a9002be89cc7f900d4e144f.svg#Avenir Next LT W01 Ultra Light") format("svg"); /* iOS 4.1- */
}
2.Settings font css style
Code:
div {
font-family: 'Avenir Next LT W01 Ultra Light';
}
3.DEMO:
Code:
<div>
With CSS3, websites can finally use fonts other than the pre-selected "web-safe" fonts.
</div>
Font download site https://www.onlinewebfonts.com/