A Pen by liuxiaomingskm on CodePen.
Last active
February 6, 2020 18:11
-
-
Save liuxiaomingskm/978bad0d3c0c2588041642f750f45bbc to your computer and use it in GitHub Desktop.
SVG初体验(划线和分组)
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 | |
version='1.1' | |
baseProfile="full" | |
smlns="http://www.w3.org/2000/svg"> | |
<g stroke-width="5px" stroke="blue"> | |
<line x1="100" y1="100" x2="700" y2="350" /> | |
<line x1 ="100" y1="350" x2="700" y2="100" /> | |
</g> | |
</svg> |
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 { | |
border: 1px solid black; | |
width: 800px; | |
height: 450px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment