Search Header Logo
CSS Random Question

CSS Random Question

Assessment

Presentation

Information Technology (IT)

Professional Development

Practice Problem

Hard

Created by

Who I

Used 1+ times

FREE Resource

20 Slides • 0 Questions

1

What is display: inline?

2

What is display: block?

3

Can we center-aligned block element by using the margin only ?

4

What is display: inline-block?

5

How does display: none differ from
visibility: hidden?

6

What is the purpose of the
float property in CSS?

7

Why is the clear hack used, and how does it work in floating?

8

How does position: static work,
and when would you use it?

9

How does position: fixed work,
and when would you use it?

10

How does position: relative work,
and when would you use it?

11

How does position: absolute work,
and when would you use it?

12

How does position: sticky work,
and when would you use it?

13

What is z-index property ?

14

What is z-index property ?

15

What is the purpose of the
:not() pseudo-class?

16

What is the purpose of the
:nth-child() pseudo-class?

17

Explain the use of the
:focus
pseudo-class for form inputs.

18

What is the purpose of the
:nth-child() pseudo-class?

19

What is the difference between pseudo-class and pseudo-element?

20

What are CSS media types?

What is display: inline?

Show answer

Auto Play

Slide 1 / 20

SLIDE