Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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. */
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #css #gradient #text
ADD COMMENT
Topic
Name
9+1 =