Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Shapes with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

aa6ea17beec44f2abb7fc29f49eb16c9

Fork of Fork of Shapes with SVG and CSS

0 stars0🌍 Public
MManoj
Last edited Mar 20, 2023
Created on Mar 20, 2023

This example uses raw SVG elements and CSS to demonstrate basic shapes and styling. It shows circles, rectangles, and a path, with both inline attributes and CSS classes controlling appearance. The first circle is red, the second green, and a group with a transform moves shapes while adding a stroke. A separate group defines a line and path, with CSS applying black strokes and a yellow stroke-linejoin to the path. All shapes are hardcoded in HTML, with no JavaScript or data binding, relying purely on SVG presentation attributes and stylesheet rules.

AI-generated description

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

See also React Starter.