On a blog page, you want to emphasize the first line of every paragraph differently from the rest of the content. Which CSS property and pseudo-element will help you achieve this effect?
- ::emphasize
- ::first-letter
- ::first-line
- ::highlight
To emphasize the first line of every paragraph differently from the rest of the content, you should use the ::first-line pseudo-element in CSS. This pseudo-element targets the first line of a block-level element and allows you to apply specific styling to it.
Loading...
Related Quiz
- What does the CSS rule "ul > li" specifically target?
- What does the animation-fill-mode: forwards; property-value combination do?
- Which CSS property is used to clip an element to a basic shape like a circle or ellipse?
- When an animation is paused using the animation-play-state property, its current state is determined by the ________ property.
- Autoprefixing tools parse CSS and add or remove vendor prefixes based on data from ________.