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;
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.
Closest to Correct answer will be D or B.
None of the above is the correct. the right answer will be:
text-shadow: 0pt 72pt 5px; or 0 1in 5px;
https://jsfiddle.net/1Lzu6tkf/2/
you are right