While on the internet, you use HTML to communicate all the basic information that you need to. If you want to go beyond basics to create a message that will resonate with your users, you will definitely need animations. The more you make an experience rich with sensory input the more people respond to it positively.
If you cannot implement some of these features in your site, be sure to get help from professionals. They have a great team of designers and developers that can help you get the results that you need.
Depending on the complexity of the animation, or the level of user interaction, you can use various types of animations on your web pages. The main types of web animations include:
1. CSS animations
CSS transitions and animations should ideally be used for user interface elements and basic transitions. CSS animations are generally easy to create, but very difficult to use for intricate illustrations.
Animating several elements on a page, especially those that cause reflows or those with non-performing properties, can cause a hit in page performance. They can also be difficult to change later on if you need to tweak the animation.
However, using transitions over animations allows for better performance and make them easier to work with.
The thing to remember is, as long as the animations you require are not complex, you should ideally use CSS, especially for simple interactions using animations and transitions.
2. JavaScript animations
If used with specialized animation libraries like Velocity.js or GSAP, these animations can perform very well and even outperform CSS animations. JavaScript animations are the best option when it comes to more complex animations that involve several elements on a page.
DOM elements would be preferable to use since they improve user interactions allowing you to do amazing things like hovering or slowing down animations. If you need many animated user interactions with SVGs or HTML elements, DOM based JavaScript animations are the best option.
3. Scalable Vector Graphics (SVG)
Scalable Vector Graphics (SVGs) are 2D vector based images with support for animation and interaction. The SVGs features and behavior are defined using an XML file. This means that the file can be indexed, searched, compressed and scripted.
SVGs are better created using drawing software, but are simple enough to be created with any text editor. All web browsers can support rendering of SVG animations and images, but up to different degrees.
A great thing about SVGs is that they can be animated using JavaScript and CSS in their pure form. CSS animations transform and states like hover can be used with SVGs. With JavaScript, the list of things that can be done is endless.
SVG animations can also make use of libraries like GSAP or snap.svg depending on the type of animation required.
4. SMIL
Synchronized Multimedia Integration Language, commonly referred to as SMIL, is a markup language used to animate SVGs without the need for JavaScript or CSS. In fact, with SMIL, you can create animations that are more complex than what CSS can possibly handle.
The main downside of SMIL is that it is not supported by Internet Explorer and IE still has a large market share of browser usage. There are some workarounds of SMIL that try to use Internet Explorer, but they don't perform very well because they are not natively supported by the browser.
5. Graphics Interchange Format (GIF)
GIFs are good for simple animations, especially if you are conversant with how to make them. They are simple because they do not call for much interaction from the user. They can however have a transparent overlay in part or in whole so that it is clickable.
GIFs are perfect for the following user cases:
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Sourabh SomaniPosted Feb 27, 2015, 11:59 AM
good information :)
Sibeesh VenuPosted Feb 27, 2015, 3:25 AM
Nice one!!!
Hussain AhmedPosted Feb 27, 2015, 1:08 AM
Nice Info
Rahul Kumar SaxenaPosted Feb 26, 2015, 11:39 PM
Good show...