Shapes with SVG and CSS
✓ Published1🌍 Public
This example demonstrates how simple geometric shapes can be composed and styled using SVG elements and CSS. It shows two circles and two rectangles arranged on a canvas, with a lime stroke applied to one group and a hotpink line and path rendered as part of a separate group. The code uses raw SVG markup within an HTML page, along with a linked stylesheet that applies global typography and group-specific styling, such as stroke color and width, as well as a round line join for the path.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed