In this video I will show how to put gradient color in text using CSS. Here I have used the -webkit function for background color.
#CSSTricks #GradientText #TextStylingUsingCSS
CSS Code:
style -- starts
h1 {
font-size: 72px;
text-align: center;
background: -webkit-linear-gradient(#00d0ff, #ff00f7);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
p {
font-size: 30px;
background: -webkit-linear-gradient(left, #00d0ff, #ff00f7);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
style -- ends
for more videos like this please subscribe to our channel : https://www.youtube.com/channel/UCkKf...
Thanks So Much...
Music Credit :
Track: Janji - Heroes Tonight (feat. Johnning) NCS Release
Music provided by NoCopyrightSounds.
Download: https://ncs.io/ht