Session5

Session5

University

20 Qs

quiz-placeholder

Similar activities

Desarrollo Aplicacion Movil I

Desarrollo Aplicacion Movil I

University

20 Qs

web programming basics

web programming basics

University

20 Qs

EMS Chapter 2

EMS Chapter 2

University

20 Qs

Quiz "Session2"

Quiz "Session2"

University

15 Qs

Quiz on Beam Bearing Plates and Column Base Plates

Quiz on Beam Bearing Plates and Column Base Plates

University

20 Qs

2.3.4 - NSPE Code of Ethics

2.3.4 - NSPE Code of Ethics

10th Grade - University

15 Qs

Table Saw - Safety Test

Table Saw - Safety Test

10th Grade - University

23 Qs

wp_css

wp_css

University

20 Qs

Session5

Session5

Assessment

Quiz

Engineering

University

Hard

Created by

Nada Asraf

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the position: sticky property?

A. It requires a z-index to work properly.

It toggles between relative and fixed based on the scroll position.

It only works inside a flex container.

It behaves the same as absolute but with offset restrictions.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If two elements have the same z-index value and are siblings, what determines which one appears on top?

A. Their position in the DOM hierarchy.

Their width and height.

Their display property.

Their overflow property.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when overflow: scroll is set on an element?

Content is clipped and cannot be accessed.

Scrollbars are visible only when content overflows.

Content is always visible with a scroll bar, even when it doesn't overflow.

Scrollbars are always hidden.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property combination is most suitable for centering an element both horizontally and vertically inside a parent container?

display: inline-block; margin: auto;

text-align: center; line-height: 50%;

. float: center; margin: auto;

position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is commonly used to make a navigation bar fixed at the top of the page?


position: fixed;

position: sticky;

position: relative;

position: absolute;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS layout system uses grid-template-rows and grid-template-columns properties?


Box Model

Flexbox

CSS Grid

Float Layout

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values is NOT valid for the position property?

static

relative

inherit

float

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?