Android will not show window shadow with 0px blur?

Is there a problem with the Android browser showing solid (no blur) shadows?

box-shadow: 0 0 0px 5px #fff; 

Does Renders link this on Android compared to Chome, iPhone or BlackBerry?

box-shadow on Android

You can appreciate the full CSS here: http://jsfiddle.net/kEq3U/3/
My Android 2.2.1, if you could look at your Android and tell me what you see?

+4
source share
1 answer

This is a known bug in the Android browser - it is very annoying. Your only option is to use a blur radius of 1px or higher.

Check out the bug report at http://code.google.com/p/android/issues/detail?id=7531

One commenter said they circumvented it using 0.1f as the value - this did not work for me the last time I tried - only 1px or higher worked.

+4
source

All Articles