CSS Layout

CSS Layout

University

20 Qs

quiz-placeholder

Similar activities

GIS Spatial Data Models

GIS Spatial Data Models

University

15 Qs

2. Ayo Main Quiz Lagi

2. Ayo Main Quiz Lagi

University - Professional Development

20 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Python List, and String

Python List, and String

10th Grade - University

20 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 Qs

CSC305: TOPIC 2

CSC305: TOPIC 2

University

15 Qs

Selenium Overview

Selenium Overview

University

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 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;

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?

Discover more resources for Computers