Marc Ster
Marc Ster

Reputation: 2316

Phonegap App: Shadows on clicking a button

I am wondering if this is just the way html5 Apps are or can i fix this? To show you what i mean have a look at this:

enter image description here

This is what it looks like when i click on it on a device.

Upvotes: 1

Views: 404

Answers (2)

yeyene
yeyene

Reputation: 7380

Try this,

CSS

a {border:none;outline:none;}
a img{border:none;outline:none;background:none;}

Upvotes: 1

Romain Braun
Romain Braun

Reputation: 3684

Add this to your css :

* {
-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

Upvotes: 3

Related Questions