Need Assistance?

support@tutorialshub.in

BEGINNER PRACTICE TEST

CSS Flexbox & Layouts Quiz

Evaluate your understanding of Flexbox alignment, CSS Grid tracks, positioning, and responsive design.

5 Questions 10 Minutes Instant Scoring All Quizzes
Question 1 of 5
00:00

1. Which CSS property is used to align flex items along the main axis?

.container {
display: flex;
_________: center;
}

2. What is the default value of the "flex-direction" property in CSS?

3. Which CSS unit is relative to the font-size of the root <html> element?

font-size: 1.5____;

4. How do you center an element horizontally and vertically using CSS Grid in 2 lines?

.grid-box {
display: grid;
____________: center;
}

5. What does "box-sizing: border-box;" do in CSS?

* {
box-sizing: border-box;
}
0% 0 / 0

Quiz Completed!

Here is your detailed performance breakdown.

Retake Quiz Learn CSS

Detailed Question Review