"h4"
Bootstrap 4.1.1 Snippet by jeevan123456

1
2
3
4
5
6
7
8
9
10
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!-- Inspired by: https://stackoverflow.com/questions/37952222/animate-text-fill-from-left-to-right -->
<div class="container">
HOW MUCH DO YOU RATE MOVIE?
</div>
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
html {
display: flex;
align-items: center;
height: 100%;
background: black;
}
.container {
font: bold 6vmax/.8 KHAND, Open Sans, Impact;
background: black;
color: white;
mix-blend-mode: multiply;
}
@keyframes text-fill {
to {
background-size: 100% 100%;
}
}
body {
margin: auto;
background: linear-gradient(crimson, crimson) turquoise no-repeat 0 0;
background-size: 0 100%;
animation: text-fill linear infinite;
animation-duration: 20s;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: