Search Header Logo

CSS Flexbox Quiz

Authored by Halit Batur

Computers

University

Used 1+ times

CSS Flexbox Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you turn an element into a Flex Container so its children use Flexbox?

container { display: block; }

container { display: inline-block; }

container { display: flex; }

container { flex-container: true; }

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property defines the main axis direction (e.g., row or column) in a flex container?

flex-grow

flex-direction

justify-content

flex-axis

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default flex-direction for a flex container?

row

column

row-reverse

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property controls how extra space (along the main axis) is distributed between flex items?

align-items

flex-wrap

justify-content

flex-shrink

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you want items to wrap onto multiple lines instead of squishing into one row. Which property would you use?

align-content: space-around;

flex-wrap: wrap;

justify-content: space-between;

flex-flow: multiple;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property allows you to align items along the cross axis (for instance, vertically if flex-direction is row)?

justify-content

align-items

flex-flow

order

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you only want to align one specific flex item differently from the others, which property would you use on that item?

align-self

justify-self

flex-direction

align-items

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?