"Border and text animation gradient"
Bootstrap 4.1.1 Snippet by mnapolitano61

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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 ---------->
<div class="back-gradient justify-content-center text-center">
<div class="cont justify-content-center text-center">
<div class="welcome" data-text="Welcome">
Welcome
</div>
</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
28
29
30
31
32
33
34
35
36
37
.back-gradient {
height: 100%;
width: 100%;
left:0;
right: 0;
top: 0;
bottom: 0;
position: absolute;
padding: 0.5%;
}
.welcome{
position: absolute;
text-align: center;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
padding: 0;
font-size: 10vw;
text-transform: uppercase;
color: #fff;
-webkit-text-stroke: 1px rgba(255, 255, 255, 0.733);
width: 100%;
height: 80%;
background-size: 1000% 800%;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent;
}
.back-gradient, .welcome {
background: linear-gradient(90deg, #660033, #ffcc99, #c999ff, #13dbdb, #003535, #660033);
background-size: 1000% 600%;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: