Created
March 9, 2018 13:52
-
-
Save GoktugOzturk/556d4c8a188404410f89de639b5659cf to your computer and use it in GitHub Desktop.
Perfect Star SVG Polygon
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<style> | |
.star { | |
width: 16px; | |
} | |
.star polygon { | |
fill: red; | |
stroke-width: 0; | |
fill-rule: nonzero; | |
} | |
</style> | |
<svg viewbox="0 0 170 170" class="star"> | |
<polygon points="85,0 136,153 4,59 166,59 34,153"/> | |
</svg> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment