Skip to content

Instantly share code, notes, and snippets.

@AladinDridi
Last active August 28, 2017 23:29
Show Gist options
  • Save AladinDridi/68ec520a937b19be71d66448357e5403 to your computer and use it in GitHub Desktop.
Save AladinDridi/68ec520a937b19be71d66448357e5403 to your computer and use it in GitHub Desktop.
scg balise
<svg id="mysvg" width="600" height="400" xmlns="http://www.w3.org/2000/svg" style="background-color:rgba(255,200,0,0.9);">
<rect id="myrect" width="300" height="100" x="10" y="10" fill="blue"/>
<rect id="myrect2" width="100" height="100" x="320" y="10" fill="green" style="stroke:red;stroke-width:5px;"/>
<circle id="mycircle" cx="150" cy="150" r="40" fill="red"/>
<circle id="mycircle" cx="320" cy="150" r="70" fill="pink" style="stroke:blue; stroke-width:5px;"/>
<line id="myline" x1="50" y1="350" x2="550" y2="30" style="stroke:black;stroke-width:10px;"/>
<line id="myline1" x1="550" y1="30" x2="550" y2="350" style="stroke:blue;stroke-width:10px;"/>
<line id="myline2" x1="550" y1="350" x2="50" y2="350" style="stroke:red;stroke-width:10px;"/>
<ellipse id="myellipse" cx="150" cy="250" rx="50" ry="75" fill="green" style="stroke:black; stroke-width:5px;"/>
</svg>
@AladinDridi
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment