Fork of Shapes and Colors with SVG and CSS
✓ Published0🌍 Public
This example demonstrates basic SVG shapes and CSS styling through a simple composition of circles, rectangles, lines, and a path. It uses a group element with a scale transformation to resize the entire drawing, while a nested group applies a fill and stroke to both a circle and rectangle. The example also uses CSS class selectors to style the stroke and linecap properties of the line and path elements. The SVG is rendered with a 960x500 viewport and a 1.7 scale factor.
AI-generated descriptionAn example including some commonly used features of SVG.
MIT Licensed