Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linear #gradient #text
ADD COMMENT
Topic
Name
5+6 =