Template:Appearing Text Effect/styles.css
Template page
More actions
.appear-effect-wrapper {
position: relative;
z-index: 1000;
pointer-events: none;
}
.appear-effect {
position: relative;
display: inline-block;
animation-name: appear-motion;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;
}
.fade-away {
animation-name: appear-disappear;
animation-fill-mode: both;
}
@keyframes appear-motion {
0% {
opacity: 0;
transform: scale(0.95);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes appear-disappear {
0% {
opacity: 0;
transform: scale(0.95);
}
50% {
opacity: 1;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(1.05);
}
}
.appear-left {
left: 0;
text-align: left;
}
.appear-center {
left: 50%;
transform: translateX(-50%);
text-align: center;
}
.appear-right {
right: 0;
text-align: right;
}