CSS - Tin Right Out Effect
HTML
<div class="tinRightOut"></div>
CSS
div {
background: #61A6AB;
border-radius: 2px;
height: 100px;
width: 100px;
}
.tinRightOut {
animation: tinRightOut 1s forwards;
}
@keyframes tinRightOut {
0%,
20%,
40%,
50% {
opacity: 1;
transform: scale(1,1) translateX(0);
}
10%,
30% {
opacity: 1;
transform: scale(1.1,1.1) translateX(0);
}
100% {
opacity: 0;
transform: scale(1,1) translateX(900%);
}
}