How to Create Twitter Heart Button Animation

Submitted by alpha_luna on
In this article, we are going to create Twitter Heart Button Animation with CSS3. Twitter has released a new heart button, it's a replacement for the favorite button. This heart button it's a cool animation effect for click action. This article will help you how to create this using CSS3 and jQuery. Result

Creating Markup

Displaying example of a news feed.

Animation Duration in CSS

Submitted by alpha_luna on
In this tutorial, we are going to learn about animation-duration. So, what is animation-duration? The animation-duration property specifies how many seconds or milliseconds an animation takes to complete one cycle. This property has a syntax: animation-duration: time | initial | inherit ; Property Values time - it specifies the length of time an animation takes to finish. The default value is

CSS @keyframes Rule

Submitted by alpha_luna on
What is a @keyframes in CSS3? The @keyframes rule is used to create animations. In general, an animation in CSS3 is defined as changing from one CSS style to another. Structure: @keyframes name { selector { styles ; } } Property Values: name – it’s specifies the name of the animation. (required) selector – it’s specifies that percentage of the animation duration. (required) Possible Value: 0 – 100