javascript - What gradient css can I remove for android and ios? -


im developing application in phonegap , use bootstrap gradient on buttons. when use bootstrap button generator receive this:

   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);    background-color: #ceedf5;   *background-color: #ceedf5;  background-image: -moz-linear-gradient(top, #f7fbfc, #ceedf5);   background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f7fbfc), to(#ceedf5));   background-image: -webkit-linear-gradient(top, #f7fbfc, #ceedf5);   background-image: -o-linear-gradient(top, #f7fbfc, #ceedf5);   background-image: linear-gradient(to bottom, #f7fbfc, #ceedf5);   background-repeat: repeat-x;  border-color: #ceedf5;  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#f7fbfc', endcolorstr='#ceedf5', gradienttype=0); filter: progid:dximagetransform.microsoft.gradient(enabled=false); 

it mobile application (not web app), , im wondering if need of android , iphone. im trying optimize code...

use -webkit- prefix catch blackberry , recent non-current versions of android , ios. drop rest.

http://caniuse.com/#search=gradient


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -