Text shadow an inch below text

I have the following question for exam 70-480, but in my opinion all possible answers are incorrect.

Question: Add a shadow that is one inch below the text in the paragraph. Set the shadow radius to 5 pixels.

Possible answers:

  • A text-shadow: 72pt 0pt 5pt
  • B text-shadow: 5px in 0px
  • C text-shadow: 72pt 5em 0px
  • D text-shadow: 72pt 0em 5px

Can someone tell me if I am wrong?

+4
source share
4 answers

As you can see here: http://jsfiddle.net/4v4yu/13/

The choice of answer A reads:

h1 {text-shadow: 5pt .1in 2pt}

and it seems like this is the wrong answer because:

[1] It shows a dot an inch lower, not an inch lower.

[2] He reads in pt, not px.

, , PPI ​​(Pixels Per Inch) , , .

, .

+3

:

text-shadow: 0px 1in 5px;

http://jsfiddle.net/venudil/kyzykfwf/

+3

.

, 1 ( 72pt 6em approx.) 5 px.

,

text-shadow: 0 1in 5px;

text-shadow: 0pt 72pt 5px;
+2

D .

: CSS 3

: : B D.

#obj {text-shadow: <x-offset> <y-offset> <blur-radius> <color>; }
<x-offset> +n right -n left
<y-offset> +n bottom -n top

1 inch lower means <y-offset>1 inch or 72 pt

Therefore, in fact, the answer should be

0px, 1in, 5px
or
0px, 72pt, 5px
0
source

All Articles