Saturday, February 3, 2018

Twitter Heart Button Animation Using CSS3

In this tutorial we are going to discuss how to create Twitter Heart Button Animation Using CSS3. If you are user of twitter you may have been observed Twitter Heart Animation. All the animation effect is controlled by transition Property of CSS and it provides very smooth animation effect.
twitter heart animation, twitter like heart animation, twitter heart animation css

We have tried our best to make this tutorial very simple and hope you will like this. Also transition property of CSS helps to display heart blast effects, when user click on heart button. Without wasting time lets get started.

Twitter Heart Animation Button :

Lets see the complete source code of Twitter Heart Button CSS3 Animation :
In this example we have used on click event using Jquery to provide blast animation effect. You can checkout our youtube channel for information :

 <script src=""></script>
.heart {
  width: 100px;
  height: 100px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url(heart.png) no-repeat;  
  cursor: pointer;
.heart-blast {
  background-position: -2800px 0;
  transition: background 1s steps(28);

$(function() {
  $(".heart").on("click", function() {

<div class="heart"></div> 


This is all about Twitter Heart Animation using CSS3. In case of any queries please do comment in comment box below.

Download Link :

1 comment:

  1. Wow... that's what I'm looking for. Thank you so much.