Question Locked

How to make text slide out starting for the side ?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

p{
font-size: 12px;
color: #fff;
background-color: lightblue;
padding: 25px;
border: 25px solid navy;
position: relative;
right:2350px;
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;}

}

1 reply

by jaredy00

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

This discussion is closed to new replies.