Skip to content

Instantly share code, notes, and snippets.

@diggeddy
Created March 21, 2023 15:04
Show Gist options
  • Save diggeddy/a5b92d5590a70486dd92b3c29535a57a to your computer and use it in GitHub Desktop.
Save diggeddy/a5b92d5590a70486dd92b3c29535a57a to your computer and use it in GitHub Desktop.
gradient text
h1 {
display: block;
font-size: 80px;
font-weight: 900;
background: linear-gradient(90deg, var(--accent), var(--global-color-8));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment