.demo{ background: linear-gradient(to right,#7BC6CC,#BE93C5); }
.text-effect{
color: #fff;
font-family: 'Oswald', sans-serif;
font-size: 100px;
font-weight: 700;
text-align: center;
}
.text-effect span{
display: inline-block;
text-shadow: 2px 2px 3px #3d6366;
}
.text-effect span:nth-child(1) { animation: animate 3s infinite 0.2s ease-in-out; }
.text-effect span:nth-child(2) { animation: animate 3s infinite 0.4s ease-in-out; }
.text-effect span:nth-child(3) { animation: animate 3s infinite 0.6s ease-in-out; }
.text-effect span:nth-child(4) { animation: animate 3s infinite 0.8s ease-in-out; }
.text-effect span:nth-child(5) { animation: animate 3s infinite 1s ease-in-out; }
.text-effect span:nth-child(6) { animation: animate 3s infinite 1.2s ease-in-out; }
.text-effect span:nth-child(7) { animation: animate 3s infinite 1.4s ease-in-out; }
.text-effect span:nth-child(8) { animation: animate 3s infinite 1.6s ease-in-out; }
.text-effect span:nth-child(9) { animation: animate 3s infinite 1.8s ease-in-out; }
.text-effect span:nth-child(10){ animation: animate 3s infinite 2s ease-in-out; }
@keyframes animate{
0%{ transform: translateY(0); }
50%{
transform: translateY(12px);
opacity: 0.09;
}
}
@media only screen and (max-width: 990px){
.text-effect{ font-size: 80px; }
}
@media only screen and (max-width: 767px){
.text-effect{ font-size: 60px; }
}
@media only screen and (max-width: 576px){
.text-effect{ font-size: 45px; }
}