1.

Which of the following property defines a shadow effect for text?(a) box-shadow(b) img-shadow(c) text-shadow(d) none of the mentionedI have been asked this question during an online exam.This intriguing question comes from Backgrounds, Borders and Drop Shadow topic in section CSS Text, Borders and Images of CSS

Answer» RIGHT option is (d) none of the mentioned

The explanation is: The SHADOW effects are applied in the order specified and may OVERLAY each other, but they will never overlay the text itself. Each shadow effect must specify a shadow OFFSET horizontally and vertically and may optionally specify a BLUR radius and a shadow color.


Discussion

No Comment Found

Related InterviewSolutions