Which CSS style should you use?

You are developing an HTML5 page that includes several paragraph elements.

You have the following requirements:

• Add a drop shadow that is one inch below the text in the paragraph

• Set the radius of the drop shadow to five pixels

You need to style the paragraphs to meet the requirements.

Which CSS style should you use?
A . Text-shadow: 72pt 0pt 5pt
B . Text-shadow: 5px lin 0px;
C . Text-shadow: 72pt 0em 5px;
D . Text-shadow: 100px 0px 5px;

Answer: B

Explanation:

We set the second argument (vertical) to one inch (1in).

Note

Syntax

text-shadow: h-shadow v-shadow blur color;

Note: The text-shadow property attaches one or more shadows to text. The property is a comma-separated list of shadows, each specified by 2 or 3 length values and an optional color. Omitted lengths are 0.

* h-shadow

Required. The position of the horizontal shadow. Negative values are allowed

* v-shadow

Required. The position of the vertical shadow. Negative values are allowed

* blur

Optional. The blur distance

* color

Optional. The color of the shadow.

Latest 70-480 Dumps Valid Version with 288 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments