CSS Layout

CSS Layout

University

20 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

KG - University

16 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

11th Grade - University

15 Qs

STM 2013 : FORMATIF T3-FORM & REPORT

STM 2013 : FORMATIF T3-FORM & REPORT

University

20 Qs

GIS UNIT-3 Quiz

GIS UNIT-3 Quiz

University

20 Qs

Ulangan Harian 1 Smstr 2 TIK

Ulangan Harian 1 Smstr 2 TIK

University

18 Qs

Evaluasi Ms.Word

Evaluasi Ms.Word

University

20 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

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?