I'm a little confused on how to implement @font-face in my current project. The client handed over multiple font files including FontName-Black.otf, FontName-BlackItalic.otf, FontName-Bold.otf, FontName-BoldItalic.otf, and more.
My usual approach would be:
@font-face {
font-family: FontName;
src("path/FontName.otf") format("opentype")
}
Do I need to list all the provided font names individually? How does CSS determine the default font and which one to use for bold (with the <strong>
tag) or italic (with the <em>
tag)?