Skip to content

Instantly share code, notes, and snippets.

@dillonchanis
Created September 20, 2020 14:44
Show Gist options
  • Save dillonchanis/7b76ae89d13b662eb44866f570da817b to your computer and use it in GitHub Desktop.
Save dillonchanis/7b76ae89d13b662eb44866f570da817b to your computer and use it in GitHub Desktop.

Revisions

  1. dillonchanis created this gist Sep 20, 2020.
    6 changes: 6 additions & 0 deletions example.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    @layer utilities {
    .text-gradient {
    background-clip: text;
    -webkit-text-fill-color: transparent;
    }
    }
    3 changes: 3 additions & 0 deletions example.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    <span class="text-gradient bg-gradient-to-r from-pink-400 via-purple-400 to-indigo-500">
    Download for free today.
    </span>