Skip to content

Instantly share code, notes, and snippets.

@lonekorean
Created March 3, 2018 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lonekorean/4d46345e3ec075f058d862a23d03d21b to your computer and use it in GitHub Desktop.
Save lonekorean/4d46345e3ec075f058d862a23d03d21b to your computer and use it in GitHub Desktop.
CSS that uses the polka dot fade paint worklet
.polka-dot {
--dot-spacing: 20px;
--dot-fade-offset: 0%;
--dot-color: #40e0d0;
background: paint(polka-dot-fade);
/* other styles as needed... */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment