Web Development



How to make text slide out starting for the side ?

By jaredy00 ·
Tags: Off Topic
font-size: 12px;
color: #fff;
background-color: lightblue;
padding: 25px;
border: 25px solid navy;
position: relative;
text-align: center right;

p:hover {
text-align: center right;
position: relative;
-webkit-animation: example 100s;
@-webkit-keyframes example {
0% {left:0px; top:0px;}
25% {left:2350px; top:0px;}


This conversation is currently closed to new comments.

best answer
Collapse -

Tell the Animation to start from -2350px

by jaredy00 In reply to How to make text slide ou ...

@-webkit-keyframes example {
from {left:-2350px;}
to {left:0px;}

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums