We are going to recreate the famous Instagram double-tap to like effect. We will bind a double-click handler to our image show the heart animation plus the counter below the post. We make use of Flex to center the post and make the icon (heart) absolute and give it an opacity of 0.

5m read timeFrom h.daily-dev-tips.com
Post cover image
3 Comments

Sort: