JSFiddle - React, Tailwind, and code Playground

by Matt Hopkins

HTML

<div class="nodoBadge">
<a href="https://www.clickfunnels.com/?cf_affiliate_id=696874&amp;aff_sub2=badge" target="_blank" style="text-decoration: none;"><img src="https://www.clickfunnels.com/images/badge.png" alt="Powered By ClickFunnels.com" style="verticle-align:middle;border: 0;" ></a>
</div>

CSS

.nodoBadge {
  position: fixed;
  top: 130px;
  right: -119px;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  transition: right 0.2s linear;
  height: 37px;
}

.nodoBadge:hover {
  right:0;
  animation: tftbBounce 0.8s linear;
}

.nodoBadge a {
  display: block;
  margin-top: -1px;
}

@keyframes tftbBounce {
  0%    { right: -119px; }
  30%   { right: 0; }
  50%   { right: -20px; }
  70%   { right: 0px; }
  80%   { right: -10px; }
  90%   { right: 0; }
  95%   { right: -5px; }
  100%  { right: 0; }
}