1D0-720 · Question #9
Which feature is added in CSS3?
The correct answer is B. Media Queries. Media Queries were introduced in CSS3, enabling developers to apply styles conditionally based on device characteristics like screen width, resolution, or orientation - the backbone of responsive web design. Why the distractors are wrong: A. Pseudo-classes - existed since CSS1…
Question
Which feature is added in CSS3?
Options
- APseudo-classes
- BMedia Queries
- CBox Model
- DInline styling
How the community answered
(46 responses)- A2% (1)
- B93% (43)
- C2% (1)
- D2% (1)
Explanation
Media Queries were introduced in CSS3, enabling developers to apply styles conditionally based on device characteristics like screen width, resolution, or orientation - the backbone of responsive web design.
Why the distractors are wrong:
- A. Pseudo-classes - existed since CSS1 (
:hover,:link); CSS3 expanded them with new ones like:nth-child(), but the feature itself isn't new to CSS3. - C. Box Model - introduced in CSS1; it's one of the foundational concepts of CSS from the very beginning.
- D. Inline styling - available since HTML4/CSS1 via the
styleattribute; not a CSS3 addition.
Memory tip: Think "CSS3 = Mobile Era." Media Queries arrived alongside smartphones becoming dominant, solving the problem of styling for multiple screen sizes - so if you remember CSS3 as the version that enabled responsive design, Media Queries is your anchor feature.
Topics
Community Discussion
No community discussion yet for this question.