.fakeart { position: relative; display: block; width: 95%; min-height: 15em; height: 50vh; overflow: hidden; .char { position: absolute; animation: down-the-matrix linear infinite; } } @keyframes down-the-matrix { 0% { opacity: 0; transform: translateY(-10em); } 50% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10em); } }