Modern HTML and CSS from the Beginning (Including Sass) - Box Shadows

Modern HTML and CSS from the Beginning (Including Sass) - Box Shadows

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial covers the box shadow property in CSS, explaining how to apply shadows to HTML elements. It starts with basic implementation using offset and color, then moves to advanced techniques like blur radius, negative offsets, spread radius, and RGBA for transparency. The tutorial also demonstrates creating inset shadows and multiple shadows, providing a comprehensive guide to using box shadows effectively in web design.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of using the flex display in the initial setup of the boxes?

To add shadows to the boxes

To change the color of the boxes

To increase the size of the boxes

To align the boxes horizontally

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a parameter for the basic box shadow?

Blur Radius

Offset Y

Color

Offset X

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What effect does a negative offset value have on a box shadow?

It increases the shadow's blur

It changes the shadow's color

It moves the shadow to the left and top

It moves the shadow to the right and bottom

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the spread radius affect the box shadow?

It adjusts the shadow's position

It determines how far the shadow extends

It changes the shadow's color

It alters the shadow's transparency

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using rgba in box shadow styling?

To add a gradient effect

To change the shadow's position

To increase the shadow's size

To specify color with transparency

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a regular box shadow and an inset box shadow?

Inset shadows are always blurred

Inset shadows are more colorful

Inset shadows appear inside the element

Inset shadows are always larger

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you apply multiple shadows to a single element?

By applying shadows in a loop

By using different colors for each shadow

By separating shadow values with a comma

By using multiple box-shadow properties