Search
 
SCRIPT & CODE EXAMPLE
 

CSS

gradient text

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(#eee, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Comment

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;
}
Comment

text-color gradient css

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(#f3ec78, #af4261);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Comment

Adding gradient to text color

h1 {
  background: linear-gradient(
	270.97deg,
	#FFE580 -21.36%,
	#FF7571 -2.45%,
	#EA5DAD 26.84%,
	#C2A0FD 64.15%,
	#3BF0E4 108.29%,
	#B2F4B6 159.03% );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Comment

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;
}
Comment

text gradient css3

h1 {
  font-size: 72px;
  background-image: linear-gradient(
    110deg,
    #463f64,
    #463f64,
    #e2285c
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Comment

gradient text color css

h4 {
background: linear-gradient(to right, #494964, #6f6f89);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;}
Comment

CSS text gradient

h1 {
color: #524a48;
background: linear-gradient(to right, rgba(255,239,223, 0) 0%, rgba(255,239,223, 1));
opacity: 40%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
Comment

Gradient text

.gradient-text {
    display:inline-block;
    background: black;
    background: linear-gradient(135deg,red 50%,blue 50%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
Comment

linear gradient in text

.heading-secondary {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  background-image: linear-gradient(to right, $color-primary-light, $color-primary-dark);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 0.2rem;
  transition: all 0.2s;
Comment

text gradient in css

h1{
  font-size: 72px;
  background: -webkit-linear-gradient(rgb(55, 120, 204), rgb(112, 235, 88));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Comment

text gradient effect

.text-gradient {
  background: linear-gradient(to right, #30CFD0, #c43ad6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Comment

css gradient text

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(#f3ec78, #af4261);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Comment

gradient text

selector h2 {
    background-image: linear-gradient(to right,#463f64,#463f64, #e2285c, #e2285c);
    -webkit-background-clip: text;
    display: inline-block;
    padding: 14px;
    -webkit-text-fill-color: #00000000;
    font-family: 'Stay Out Regular';
}


Comment

Color gradient for text

.text {
  background-clip: text;
  -webkit-background-clip: text;
  color: rgba(0,0,0,.2);
}
Comment

css gradient text

/* add a grient to you text for all browsers */
.gradient-text {
  background: -webkit-linear-gradient(#3b82f6, #a855f7);	/* <-- create background gradient. */	
  -webkit-background-clip: text;							/* <-- have the gradient clip to the text. */
  -webkit-text-fill-color: transparent;						/* <-- make the text fill transeparent. */
}
Comment

how to add gradient color to text


/*create the gradient*/
    background-image: var(--buttonBg);// any color you want
    /* Set the background size and repeat Properties */
    background-size: 100%;
    background-repeat: repeat;
    /* Use the text as a mask for the background */
    /* Theis will show the gradient as a text color rather  element bg*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color:transparent;
Comment

PREVIOUS NEXT
Code Example
Css :: css ie11 only 
Css :: css animate border bottom left to right 
Css :: background color css 
Css :: Horizontal Scrolling Bopostrap CSS 
Css :: inline text and image 
Css :: paragraph next to image html 
Css :: rotate image in css 
Css :: border image css 
Css :: css hover darken color 
Css :: how to call media query inside css class 
Css :: css transform size 
Css :: #f2f2f2 in rgba 
Css :: double border color css 
Css :: vertical align css 
Css :: ng-deep 
Css :: center div vertically and horizontally 
Css :: how to underline font in css 
Css :: input type password css 
Css :: how to set transition in keyframe 
Css :: how to add css using nativeelement in angular 
Css :: css image size scale to fit 
Css :: css nth child 
Css :: float center tailwind 
Css :: gray scale css 
Css :: import font css from url 
Css :: maximum length for input box 
Css :: *+* css 
Css :: add drop shadow css 
Css :: purge tailwind 3 
Css :: css hover a class change effect in another class 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =