3

Is there a way to detect whether a browser supports CSS3 transitions (-webkit-, -moz-, etc..) with JQuery?

1
  • -webkit and -moz are not CSS3. They are "vendor prefixes" which denote that the feature in question is either only partially supported or that the specification is incomplete. Many of the features which use these vendor prefixes are indeed part of the CSS3 spec, but equally many CSS3 features don't require vendor prefixes in the current browser versions. Commented Oct 3, 2011 at 12:47

2 Answers 2

3

You can use Modernizr css rule:

.csstransitions {
}

You can also use Isotope to achieve full hardware acceleration when possible, falling back to jQuery-based animation otherwise.

Sign up to request clarification or add additional context in comments.

2 Comments

I like the look of Isotope too
modernizr for ONE feature to detect !? are u serious?
0

You can go for Modernizr to detect those as well as many other features you want to detect.

Note: You could also download custom version of Modernizr for the features you want to detect.

1 Comment

Modernizr to detect one feature?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.