"Gradient in Text using Css"
Bootstrap 4.1.1 Snippet by webcoderskull

1
2
3
4
5
6
7
8
9
10
11
12
13
<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="container py-5">
<div class="row">
<div class="col-12 text-center">
<h6 class="title">Become a Member</h6>
</div>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
body{
background: #000;
}
h6{
color: #5543ca;
background: #5543ca;
background: -moz-linear-gradient(left,#f4524d 0%,#5543ca 100%) !important;
background: -webkit-linear-gradient(left,#f4524d 0%,#5543ca 100%) !important;
background: linear-gradient(to right,#f4524d 0%,#5543ca 100%) !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent !important;
}
.title {
font-size: 3.125em;
line-height: 1.4em;
letter-spacing: 0;
font-weight:bold;
text-transform: none;
display: inline-block;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: