Created
July 3, 2018 16:55
-
-
Save NickColley/a610e4ba4961faed08447a833b76af6e to your computer and use it in GitHub Desktop.
Customised colours - Circle SVG example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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