JSFiddle - React, Tailwind, and code Playground

HTML

<div>Hello</div>

CSS

@keyframes anim{
0%{transform: scale(1.2);opacity:0;}
    100%{transform: scale(1);opacity:1;}
}
div:hover{
    transform: scale(1.05);
}
div{
    width:100px;
    height: 100px;
    background-color: red;
    animation: anim 1s;
    transition: transform 1s;
}