Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Text shadow one inch below the text

Tags:

html

css

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

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

Possible answers are:

  • 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 anyone tell me if I am wrong?

like image 501
Luis Valencia Avatar asked Feb 14 '23 07:02

Luis Valencia


2 Answers

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

Answer choice A reads:

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

and it seems to be an incorrect answer, because:

[1] It shows point one inch below, not one inch below.

[2] It reads in pt, not px.

None of the other answer choices are correct, either, because none of them can show exactly one inch below, because it depends on the PPI (Pixels Per Inch) of the screen to tell how many pixels are one inch.

From this data, you can conclude there is no correct answer to that question.

like image 176
Cilan Avatar answered Feb 17 '23 03:02

Cilan


Answer should be:

text-shadow: 0px 1in 5px;

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

like image 39
Venu Avatar answered Feb 17 '23 01:02

Venu