🌍 Public
Viewing a saved revision (read-only)
3959259b56de4e47a6f5ff142736a65e
Shapes with SVG and CSS
This example demonstrates basic SVG shapes styled with CSS and inline attributes, rendered in a React application. It shows circles, rectangles, lines, and a path, with fill colors, stroke widths, and a grouped transform applied via scale and translate. The SVG markup uses React’s JSX syntax, and styles are defined in an external stylesheet targeting the `.lines` class. The code directly uses SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, with CSS properties such as `stroke-linejoin` and `stroke-width` controlling appearance.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.