Animation can make bell🔔 much more than emoji!

animation-can-make-bell-much-more-than-emoji!

We all use wave 🔔 emoji a lot in web apps!

Next time when you use it, try to add a simple wave animation to it…

@keyframes bell-keyframes {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.bell-animation {
  animation-duration: 1s;
  animation-iteration-count: var(--times, 1);
  animation-name: bell-keyframes;
  transform-origin: top center;
}

I have also created a codepen for it:

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
ai-in-healthcare:-the-promise-and-peril-of-transformation-with-a-safety-first-approach

AI in healthcare: The promise and peril of transformation with a safety-first approach

Next Post
should-your-brand-shout-its-ai-and-marketing-plan-to-the-world?

Should Your Brand Shout Its AI and Marketing Plan to the World?

Related Posts