SVG: svg, rect: Rotate Dark Green Rectangle 30 deg
Feb 25, 2017 · 1 min read

<svg width="720" height="640"> sets the SVG canvas dimensions. <rect x="150" y="0" width="100" height="200" fill="darkgreen" transform="rotate(30)" draws a rectangle using the SVG rect tag. x="150" y="0" locates the rectangle on the canvas. width="100" height="200" sets the dimensions of the rectangle. fill="darkgreen" fills the rectangle with the darkgreen HTML color. transform="rotate(30)" rotates the rectangle 30 degrees.
