"Text animation (see @ codepen.io)"
Bootstrap 3.0.3 Snippet by tochman

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<p>I'm a</p>
<b>
<span1>
web developer<br />
css cowboy<br />
self-facilitating media node<br />
box inside a box<br />
part of the problem
</span1>
</b>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
body {
padding: 2em 5em;
font: normal 40px/50px Arial, sans-serif;
color: #999;
}
p {
height: 50px;
float: left;
margin-right: 0.3em;
}
b {
float: left;
overflow: hidden;
position: relative;
height: 50px;
}
span1 {
display: inline-block;
color: #e74c3c;
position: relative;
white-space: nowrap;
top: 0;
left: 0;
-webkit-animation: move 5s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-delay: 1s;
}
@keyframes move {
0% { top: 0px; }
20% { top: -50px; }
40% { top: -100px; }
60% { top: -150px; }
80% { top: -200px; }
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

awesome

hanif hashim () - 7 years ago - Reply 0


It is not working in IE 11

Jaroslav Bažík () - 7 years ago - Reply 0


Thank you.. This is very awesome! :D

Nikon T. Malana () - 7 years ago - Reply 0


thankyou! i love it

ais () - 7 years ago - Reply 0