.demo{ background: radial-gradient( circle farthest-corner at 10% 20%, rgba(247,87,0,1) 0%, rgba(249,0,0,1) 90.1% ); }
.text-effect{
color: #fff;
font-family: "Suez One", serif;
font-size: 100px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
}
.text-effect span{
display: inline-block;
animation: loading-text 2s infinite ease-in-out;
}
.text-effect span:nth-child(1){ animation-delay: 0.9s; }
.text-effect span:nth-child(2){ animation-delay: 1s; }
.text-effect span:nth-child(3){ animation-delay: 1.1s; }
.text-effect span:nth-child(4){ animation-delay: 1.2s; }
.text-effect span:nth-child(5){ animation-delay: 1.3s; }
.text-effect span:nth-child(6){ animation-delay: 1.4s; }
.text-effect span:nth-child(7){ animation-delay: 1.5s; }
.text-effect span:nth-child(8){ animation-delay: 1.6s; }
.text-effect span:nth-child(9){ animation-delay: 1.7s; }
.text-effect span:nth-child(10){ animation-delay: 1.8s; }
@keyframes loading-text {
0% {
transform: translateY(0%);
opacity: 1;
}
20% {
transform: translateY(60%);
opacity: 1;
}
40% {
transform: translateY(100%);
opacity: 0;
}
60% {
opacity: 0;
}
80% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@media only screen and (max-width: 990px){
.text-effect{ font-size: 90px; }
}
@media only screen and (max-width: 767px){
.text-effect{ font-size: 70px; }
}
@media only screen and (max-width: 576px){
.text-effect{ font-size: 50px; }
}