Last active
April 2, 2019 04:55
-
-
Save hopearmstrong/f7908b77723586cd520821916e6ad628 to your computer and use it in GitHub Desktop.
Include the CSS in the SVG within a <style> tag
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
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"> | |
<!-- Note the <style> tag is included within the SVG --> | |
<style type="text/css" > | |
<![CDATA[ | |
rect { | |
fill: #333; | |
} | |
]]> | |
</style> | |
<g> | |
<rect id="vertical-rectangle" width="48" height="4" x="1" y="23" transform="rotate(90 25 24)"/> | |
<rect id="horizontal-rectangle" width="48" height="4" y="21"/> | |
</g> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment