Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
SSubliminal_[var]
Last edited Jul 14, 2021
Created on Jul 14, 2021
Forked from HTML Starter

This example displays basic SVG primitives—circles, rectangles, lines, and paths—organized in groups that are scaled and translated. Styling for the line group comes from CSS, setting stroke color and width, with a specific path receiving a custom color and rounded line joins. The code demonstrates how SVG elements inherit styling from CSS classes and parent group attributes, using inline presentation attributes like `fill` and `stroke-width` for direct control.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes