<div class="box">
Hello World
</div>
@keyframes slide-in {
from {
transform: translateX(-100px);
opacity: 0.25;
}
to {
transform: translateX(0%);
opacity: 1;
}
}
.box {
animation: slide-in 1000ms;
animation-delay: 500ms;
}
.box {
width: 100px;
height: 100px;
background: slateblue;
padding: 0px;
display: grid;
place-content: center;
color: white;
text-align: center;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.