When using the "font-display" property, the value ________ ensures the text remains invisible until the font is loaded.
- block
- fallback
- invisible
- swap
In web development, the "font-display" property is used to control how fonts are displayed. The value swap tells the browser to render text with system fonts until the custom font is loaded, making the text remain invisible until the custom font is ready.
Loading...
Related Quiz
- Which CSS property controls whether an element is displayed on the page?
- What does the animation-fill-mode property do in a CSS animation?
- Using media queries, you can apply styles conditionally based on the ______ of the device or browser window.
- While building a flip card animation, you notice the back of the card is visible during the rotation. Which CSS property can help hide the back of the card until it's facing the viewer?
- Which CSS pseudo-class would allow you to target only the last list item in an unordered list?