I have a simple
text-shadow: 0.05em 0.05em 0.05em black;
I open in Google Chrome and there is no shadow at all!
I change it to
text-shadow: 1px 1px 1px black;
and it works!
What is the matter?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
0.05emis too small value and your shadow falls behind the text. Try to increase it a little – http://jsfiddle.net/zd4qF/UPDATE
Your code with
.05emwill actually work in FF, but not Chrome. That’s because of rounding logic in the browsers – FF rounds anything smaller than1pxto1px, Chrome floors it to0