Skip to main content
100%

Shapes with SVG and CSS

✓ Published1🌍 Public
NNeepaB
Last edited Dec 10, 2020
Created on Dec 10, 2020
Forked from HTML Starter

This example demonstrates basic geometric shapes—circles, rectangles, lines, and a path—rendered as SVG elements inside an HTML page. Styling is applied through a linked CSS stylesheet, using classes like `.lines` to set stroke properties and selectors such as `.lines path` for path-specific appearance. The SVG itself uses transform attributes for scaling and translation, while inline styles and presentation attributes (e.g., `fill`, `stroke-width`) define individual shape colors and outlines. No JavaScript libraries are used; the visualization relies solely on static SVG markup and cascading style rules.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes