Mastering CSS Flexbox Concepts

Mastering CSS Flexbox Concepts

Assessment

Flashcard

Computers

8th Grade

Hard

flexbox, align-items

Standards-aligned

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which property is used to define a flex container in CSS? Options: display: block;, display: flex;, display: inline;, display: grid;

Back

display: flex;

2.

FLASHCARD QUESTION

Front

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

Back

The direction of the main axis

3.

FLASHCARD QUESTION

Front

How can you align flex items to the center along the main axis(x-axis)? Options: align-items: center;, justify-content: center;, align-content: center;, flex-wrap: center;

Back

justify-content: center;

4.

FLASHCARD QUESTION

Front

Which property would you use to change the order of a specific flex item? Options: `flex-grow`, `flex-shrink`, `order`, `flex-basis`

Back

`order`

5.

FLASHCARD QUESTION

Front

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

Back

row

6.

FLASHCARD QUESTION

Front

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

Back

flex-wrap

7.

FLASHCARD QUESTION

Front

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

Back

flex-grow: 1;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?