Answered step by step
Verified Expert Solution
Question
1 Approved Answer
@font-face { font-family: Roboto; src: url(fonts/roboto.woff2) format(woff2), url(fonts/roboto.woff) format(woff); } Program a CSS selector for a body element and set the font family to use
@font-face { font-family: Roboto; src: url("fonts/roboto.woff2") format("woff2"), url("fonts/roboto.woff") format("woff"); }
Program a CSS selector for a body element and set the font family to use this custom Roboto font. The declaration should also have a fall back that includes Arial, and a basic sans-serif font in case the custom font does not load.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started