Question: Open the styles.css file in your text editor. At the top of the file, add a @charset rule to set the encoding of this stylesheet
Open the styles.css file in your text editor.
At the top of the file, add a @charset rule to set the encoding of this stylesheet to utf
For the main page, the student government representatives want to use two main fonts:
Familjen Grotesk
Bebas Neue
The Bebas Neue font has no variations ie no bold, italics or different font weights so we only need one @fontface rule.
For the Bebas Neue font, create a @fontface CSS rule that has the following properties:
The font should be called Bebas Neue.
The file to use is BebasNeueRegular.ttf
The Familjen Grotesk font, however has a bold variation, an italic variation, and a bold italic variation. In order to add all these variations to the page, we will have import the various font files we uploaded in the last step into our page.
For the Familjen Grotesk font, you will create a total of four @fontface rules using the following properties:
For each rule, the font should be called Familjen Grotesk.
For the first rule, the file to use is FamiljenGroteskRegular.ttf Set the weight and style to normal.
For the second rule, the file to use is FamiljenGroteskItalic.ttf Set the weight to normal and the style to italic.
For the third rule, the file to use is FamiljenGroteskBold.ttf Set the weight to bold and the style to normal.
For the fourth rule, the file to use is FamiljenGroteskBoldItalic.ttf Set the weight to bold and the style to italic.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
