Search Header Logo

CSS Layouts Flexbox

Authored by Aymane Benhima

Other

University

Used 12+ times

CSS Layouts Flexbox
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which three values do the justify-content and align-items properties share?

flex-start, flex-end, flex-center

flex-start, baseline, stretch

flex-start, flex-end, center

flex-start, baseline, flex-center

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property does not use the main axis to position the flex items?

flex-wrap

align-content

justify-content

flex-grow

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following justify-content values positions all flex items in order with no additional spacing at the end of the row?

space-between

flex-start

flex-end

center

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following shorthand syntaxes would achieve the same styling on the item class?

flex: 2 1 120px;

flex-flow: 2 1 120px;

flex: 1 2 120px;

flex: 120px 1 2;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Based on the code below where #container is a flex container and .box are its flex items, what can we assume about the width of the .box elements?

The width of the .box elements will always be 300 pixels

The width of the .box elements are invalid because the width of flex items must be declared using the flex-basis property.

The width of the .box elements will be at least 300 pixels but will grow id the screen size is big enough.

The width of the .box elements will depend on the size of the screen.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the align-items property used for?

To align flex items on the main axis.

To align flex items on the cross axis.

To align flex items on both the main and cross axes.

To align flex containers on the cross axis.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following display values will allow multiple flex containers to appear inline with each other?

flex

inline-flex

inline-block-flex

block-flex

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?