CSS Layout

CSS Layout

University

20 Qs

quiz-placeholder

Similar activities

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Software Engineering-1

Software Engineering-1

University

20 Qs

DAA quiz2

DAA quiz2

University

15 Qs

The Firm and Its Environment

The Firm and Its Environment

University

20 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

Excel_Test_bài 1

Excel_Test_bài 1

University

15 Qs

Ôn Tập Tin GK II 9

Ôn Tập Tin GK II 9

9th Grade - University

16 Qs

CSS Layout

CSS Layout

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

syam gunawan

Used 28+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?