Код:
.chatFull .transparent:after{ width: 100%; white-space:nowrap; line-height: 50px; overflow:hidden; font-size: 60px; color: cornflower#ff0000;/* цвет можно менять-Апостол */ -webkit-animation: step 1s steps(50) infinite; animation: step 15s steps(50) infinite; } /* Анимация */ @keyframes step{ 0% { width: 0;} 100% {width:100%;} } @-webkit-keyframes step{ 0% { width: 0;} 100% {width:100%;} }.chatFull .transparent:after { content:"Ваш текст"; font-family:arial; font-size: 30px; text-align:justify; text-shadow:3px 3px 10px green,-3px -3px 10px blue;color: #ff0000; position: absolute; top:5%; left:100px; bottom:0; right:100px; z-index: 1; opacity: 1; }
Теги: CSS-Коды для чатов-Chatovod.ru