Flexbox and Display Properties

Flexbox and Display Properties

12th Grade

19 Qs

quiz-placeholder

Similar activities

2Mobile2

2Mobile2

12th Grade

15 Qs

SQL

SQL

11th - 12th Grade

15 Qs

Code.org CSD Unit 3 Lessons 1-12

Code.org CSD Unit 3 Lessons 1-12

3rd - 12th Grade

20 Qs

Animate Lesson 5

Animate Lesson 5

9th - 12th Grade

20 Qs

Technology at Home

Technology at Home

KG - 12th Grade

20 Qs

HTML and CSS Basics Quiz

HTML and CSS Basics Quiz

9th Grade - University

20 Qs

Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

12th Grade

20 Qs

HTML CSS

HTML CSS

10th - 12th Grade

15 Qs

Flexbox and Display Properties

Flexbox and Display Properties

Assessment

Quiz

Computers

12th Grade

Medium

Created by

karunakar pusuluri

Used 1+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the 'display' property used for in CSS?

It is used to specify the type of box used for an HTML element.

It is used to change the font size of an HTML element.

It is used to add a border to an HTML element.

It is used to create a shadow effect for an HTML element.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the 'flex' value for the 'display' property in CSS.

inline

block

grid

flex

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the possible values for 'flex-direction' property in CSS?

horizontal, vertical, diagonal, reverse

left, right, top, bottom

start, end, center, justify

row, row-reverse, column, column-reverse

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the 'justify-content' property work in flexbox?

It has no effect on the alignment of flex items.

It only works for inline elements, not flex containers.

It aligns the flex items along the main axis of the flex container.

It aligns the flex items along the cross axis of the flex container.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the different alignment values for the 'align-items' property in flexbox?

flex-start, flex-end, center, baseline, and stretch

top, bottom, middle

start, end, middle

left, right, center

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the purpose of the 'flex-wrap' property in flexbox.

It is used to add a border to the flex items

It is used to control whether the flex items are forced into a single line or can be wrapped onto multiple lines.

It is used to change the color of the flex items

It is used to change the font size of the flex items

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of the 'flex-direction' property in flexbox?

row-reverse

wrap

row

column

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?