Handling animation requests on a responsive site
The best route to animate content within a responsive site when working with jQuery might actually seem a little perverse: don't use jQuery unless you absolutely have to! At this point, you may think I have completely lost the plot, but here are a few good reasons for this:
- Animation doesn't work well on mobile devices when done with jQuery; to improve performance, additional CSS styling has to be used.
- We lose control over which rules are applied to specific elements due to CSS specificity—keeping ...