Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Shapes with SVG and CSS

0 stars1🌍 Public
VVinceVerspeek
Last edited Dec 21, 2020
Created on Dec 21, 2020
Forked from HTML Cars Report

This example shows basic geometric shapes—circles and rectangles—rendered in a web page through SVG elements, with CSS controlling their styling. A group of shapes uses default black fills, another uses explicit `fill` attributes, and a third demonstrates CSS classes to apply strokes and colors. The visualization also includes lines and a path drawn with stroke styling. The code uses plain SVG markup, CSS selectors, and hypertext markup, with all shapes placed inside an SVG canvas scaled by a factor of 1.5.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed