Reputation: 5088
Im trying to set box-shadow on a div. I have:
-webkit-box-shadow: inset 0 0 0 5px rgba(215, 40, 40, 0.9);
-moz-box-shadow: inset 0 0 0 5px rgba(215, 40, 40, 0.9);
box-shadow: inset 0 0 0 5px rgba(215, 40, 40, 0.9);
This works fine on a desktop browser. But when I run the app through Phonegap in Android 4.3, nothing is rendered. What am I doing wrong?
Upvotes: 1
Views: 2938
Reputation: 731
small offtop: box-shadow has very poor performance when theres more items with it (at least on android). I've been optimising css once for phonegap app and removing it had made great difference.
Upvotes: 1
Reputation: 317
It seems that Android Browser does not support the "inset", try to omit it.
Android Browser refers to missing "inset" and blur radius value support.
from http://caniuse.com/css-boxshadow
Upvotes: 0