Skip to content

Instantly share code, notes, and snippets.

@NickColley
Created July 3, 2018 16:55
Show Gist options
  • Save NickColley/a610e4ba4961faed08447a833b76af6e to your computer and use it in GitHub Desktop.
Save NickColley/a610e4ba4961faed08447a833b76af6e to your computer and use it in GitHub Desktop.
Customised colours - Circle SVG example
<!-- Example of using `currentColor` to set the colour of a SVG circle -->
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<circle fill="currentColor" cx="10" cy="10" r="10"/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment