Shapes with SVG and CSS
✓ Published1🌍 Public
This example uses SVG and CSS to construct a grid of basic geometric shapes—circles and rectangles—in various colors, with a portion of the shapes offset and colored blue using a translated group. A pair of black lines and a path with a blue stroke and round line joins are rendered from hardcoded coordinates. The shapes are scaled by a factor of 1.5, and styling is applied via the CSS class `.lines` in the linked stylesheet, demonstrating how inline attributes and external style rules combine within an SVG canvas.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed