Skip to content

Instantly share code, notes, and snippets.

@merksam
Created February 14, 2021 13:39
Show Gist options
  • Save merksam/49683b64924eca23085d77421c278235 to your computer and use it in GitHub Desktop.
Save merksam/49683b64924eca23085d77421c278235 to your computer and use it in GitHub Desktop.
Article / SVG Icons React / Icon.css
.icon {
display: inline-block;
vertical-align: middle;
}
.icon svg {
display: block
}
.icon:not(.icon-raw) svg path, polygon, rect, circle {
fill: currentColor
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment