CSS Layout

CSS Layout

University

20 Qs

quiz-placeholder

Similar activities

EXAMEN 1

EXAMEN 1

University

20 Qs

Revit Quiz pt 1

Revit Quiz pt 1

10th Grade - University

20 Qs

Computer Graphics Quiz 1

Computer Graphics Quiz 1

University

15 Qs

Pemograman Web 1

Pemograman Web 1

12th Grade - University

20 Qs

HTML Quiz

HTML Quiz

University

20 Qs

CSS

CSS

5th Grade - Professional Development

25 Qs

การออกแบบ UI/UX สำหรับแอปพลิเคชัน

การออกแบบ UI/UX สำหรับแอปพลิเคชัน

University

15 Qs

2nd Quiz in IT111D

2nd Quiz in IT111D

University

15 Qs

CSS Layout

CSS Layout

Assessment

Quiz

Computers

University

Medium

Created by

syam gunawan

Used 28+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

When you use class selector

What should present infront of classname

#

&

@

.

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which model includes margin, border, padding, and content?

CSS Box model

CSS3 Flexbox Box model

CSS3 Grid Layout model

CSS Grid Template Layout Module

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which model defines structures similar to tables using 2 dimensions?

CSS Box model

CSS3 Flexbox Box model

CSS3 Grid Layout model

CSS float

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

You are creating a grid layout. What does 1fr mean in the following code?

grid-template-columns: 150px 150px 1fr 1fr;

The first two columns will be two fraction units of the stated width.

The third and fourth columns is 1 fraction unit of the remaining space in the grid.

The second column will be double the stated width.

The second column will be half of the remaining space in the grid.

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How many columns and rows are defined in the following code?

section {

display: grid;

grid-template-columns: 100px 1fr 1fr 250px;

grid-rows: 50px 1fr 1fr ;

}


section header {

grid-column: 1 / 4;

grid-row: 1;

}


section nav {

grid-column: 1;

grid-row: 2 / 3;

}


section article {

grid-column: 2;

grid-row: 2;

}


section aside {

grid-column: 3;

grid-row: 2;

}


section footer {

grid-column: 1 / 4;

grid-row: 3;

}

1 rows and 2 columns

2 rows and 3 columns

3 rows and 2 columns

3 rows and 4 columns

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

How to define the properties for the wrapper element to position the box like in the picture?

padding-left: value; padding-top: value;

padding-right: value; padding-top: value;

margin-left: value; margin-top: value;

margin-right: value; padding-top: value;

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

How to define the property for the box element with shorthand?

margin: 0 value value 0;

margin: value value 0 0;

margin: 0 value 0 value;

margin: value 0 0 value;

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?