Search Header Logo

Mastering CSS Flexbox Concepts

Authored by s Chughtai

Computers

8th Grade

flexbox covered

Used 6+ times

Mastering CSS Flexbox Concepts
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Which property is used to define a flex container in CSS?

display: block;

display: flex;

display: inline;

display: grid;

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What does the `flex-direction` property control in a flex container?

The alignment of items along the cross axis

The order of flex items

The direction of the main axis

The spacing between flex items

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

How can you align flex items to the center along the main axis(x-axis)?

align-items: center;

justify-content: center;

align-content: center;

flex-wrap: center;

4.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Which property would you use to change the order of a specific flex item?

`flex-grow`

`flex-shrink`

`order`

`flex-basis`

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is the default value of the `flex-direction` property?

column

row

row-reverse

column-reverse

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which property is used to allow flex items to wrap onto multiple lines?

flex-wrap

flex-flow

align-items

justify-content

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

How can you make a flex item grow to fill the available space in a flex container?

flex-grow: 0;

flex-grow: 1;

flex-shrink: 1;

flex-basis: auto;

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?