I would use Modernizr to detect when css animations are not supported. With Modernizr, it’s as simple as:
if(!Modernizr.cssanimations) {
//jQuery fallback
}
As for rotating with jQuery I would use: http://jqueryrotate.com/
More Related Contents:
- Fade animation while scrolling
- Is there a callback on completion of a CSS3 animation?
- Trigger CSS Animations in JavaScript
- How to window.scrollTo() with a smooth effect
- Can I transition the flex-grow of a flex box to produce an animation?
- Repeat animation every 3 seconds
- How do I make an “else” in an IE HTML conditional?
- IE9: Why setting “-ms-transform” works from css, but not with jquery.css()
- Combination of animation and transition not working properly
- How to transform black into any given color using only CSS filters
- Prevent zoom cross-browser
- Is there a way to have content from an IFRAME overflow onto the parent frame?
- Setting vendor-prefixed CSS using javascript
- Modifying CSS class property values on the fly with JavaScript / jQuery
- Detect change in orientation using javascript
- How to ensure a form field is submitted when it is disabled?
- Disable dragging an image from an HTML page
- Am I using too much jQuery? When am I crossing the line?
- javascript change background color on click [closed]
- Use a new CSS file to override current website’s
- Get computed font-family in JavaScript
- How to get just numeric part of CSS property with jQuery?
- In Javascript, how do I “clear” the back (history -1)?
- CSS: Change parent on focus of child
- Possible to disable @media queries or force a resolution? Reason: Allow an iphone to see the desktop site?
- Fade background image in and out with jQuery?
- Rotate div text after clicking on button using jquery and css
- How do I find which JavaScript is changing an element’s style?
- How to access css properties in javascript when applied via external CSS file?
- Can you have multiple lines in an element?