How to use fonts in given projects which are provided us in assets folder?
Asked by Ambar Srivastava about 2 years ago
0
I want to use fonts as described in style-guide.html but don't know how can I use those fonts which are provided into assets/fonts
I'm working on 1st project from the section called "Learn advanced HTML and CSS"
1 Answer
0
Try this:
@font-face {
font-family: myFirstFont;
src: url(./assets/fonts/fa-solid-900.woff2);
}
* {
font-family: myFirstFont;
}
show more answers
Your answer