javascript - How to check if css3 is not supported by browser? -
this question has answer here:
- if browser css3 7 answers
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
Post a Comment