javascript - How to check if css3 is not supported by browser? -


this question has answer here:

how can test browser css3 supported or not?

if(!css3){ //if @ least 1 css3 feature isn't supported //do stuff here } 

try assign css3 property (that's relevant you're doing - no sense testing transition if you're doing transform), andthen check see if value "stuck". if browser supports gave it, stick. otherwise, change empty string.


Comments

Popular posts from this blog

jquery - isAjaxRequest always return false -

php - SPIP: From Tag directly to an article -