MCQs > IT & Programming > CSS > Given the following problem: A drop shadow needs to appear only at the bottom, and no images should be used. Consider the following code: -moz-box-shadow: 0px 4px 4px #000; -webkit-box-shadow: 0px 4px 4px #000; box-shadow-bottom: 5px #000; However, this produces shadows on the rest of the element. Which of the following code snippets will correct the issue?

CSS MCQs

Given the following problem:

A drop shadow needs to appear only at the bottom, and no images should be used.

Consider the following code:

-moz-box-shadow: 0px 4px 4px #000;

-webkit-box-shadow: 0px 4px 4px #000;

box-shadow-bottom: 5px #000;

However, this produces shadows on the rest of the element.

Which of the following code snippets will correct the issue?

Answer

Correct Answer: -webkit-box-shadow: 0 4px 4px -2px #000000; -moz-box-shadow: 0 4px 4px -2px #000000; box-shadow: 0 4px 4px -2px #000000;

Explanation:

Note: This Question is unanswered, help us to find answer for this one

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it