Skip to content

Instantly share code, notes, and snippets.

@argyleink
Created March 2, 2021 06:24
Show Gist options
  • Select an option

  • Save argyleink/68bd0e7c4419bf7ba8a25424b8f08380 to your computer and use it in GitHub Desktop.

Select an option

Save argyleink/68bd0e7c4419bf7ba8a25424b8f08380 to your computer and use it in GitHub Desktop.

Revisions

  1. Adam Argyle created this gist Mar 2, 2021.
    7 changes: 7 additions & 0 deletions caption-color-hint.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    figcaption {
    background: linear-gradient(to top,
    hsla(0 0% 0% / 90%),
    75%, /* <color-hint> */
    hsla(0 0% 0% / 0)
    );
    }