Back to Web Development
20 Questions Total

Advanced CSS & Responsive Design MCQs

Topic-wise practice questions for Web Development. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1medium
A developer wants to style the first paragraph of an article differently. Which selector is correct?

article p { ... }
Q2easy
What is the primary advantage of using viewport units (vw/vh) over percentages (%) for sizing elements?
Q3easy
What is Graceful Degradation in responsive design?
Q4easy
What is the main benefit of CSS Custom Properties (Variables)?
Q5medium
You want to animate a box to move from left to right. Which property links a set of keyframes to an element?
Q6easy
What does the calc() function do in CSS?
Q7easy
What does overflow: hidden; do to a container?
Q8easy
What is the difference between rem and em units?
Q9medium
An image is overflowing its container, stretching the design. Which CSS rule fixes this to ensure the image never exceeds the container's width?
Q10easy
What is a Viewport Meta Tag and why is it required for mobile- responsive websites?