Session5

Session5

University

20 Qs

quiz-placeholder

Similar activities

Random Quiz on IEM_Sept 2025

Random Quiz on IEM_Sept 2025

University

18 Qs

BE23CS407 - Design and Analysis of Algorithms (Unit-1)

BE23CS407 - Design and Analysis of Algorithms (Unit-1)

University

20 Qs

EMJ42003 Chapter 7 - Quiz 2 - Set 1

EMJ42003 Chapter 7 - Quiz 2 - Set 1

University

20 Qs

TOPIC 1-Materials and Prestressing Applications

TOPIC 1-Materials and Prestressing Applications

University

15 Qs

Mastering Time and Work Concepts

Mastering Time and Work Concepts

12th Grade - University

20 Qs

Computer Networks CT-3

Computer Networks CT-3

University

20 Qs

BTS(BTD) Slip Test-1

BTS(BTD) Slip Test-1

University

15 Qs

Basic Electronic Knowledge

Basic Electronic Knowledge

University

15 Qs

Session5

Session5

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Nada Asraf

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

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

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?