Answers for "how to set linear gradient to a text"

CSS
35

css gradient text

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(#eee, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Posted by: Guest on February-26-2020
8

text color as gradient css

.gradient-text {
    background-color: #f3ec78;
    background-image: linear-gradient(45deg, #f3ec78, #af4261);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}
Posted by: Guest on May-07-2020
1

linear gradient on text

h1{  font-size: 64px;
  background-image: linear-gradient(to right, #ba81cf, #6886d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Posted by: Guest on September-10-2021
0

Color gradient for text

.text {
  background-clip: text;
  -webkit-background-clip: text;
  color: rgba(0,0,0,.2);
}
Posted by: Guest on December-20-2021

Code answers related to "how to set linear gradient to a text"

Browse Popular Code Answers by Language