Skip to main content
100%

Shapes with SCG and CSS

✓ Published0🌍 Public
MMarina Shemesh
Last edited Mar 24, 2021
Created on Mar 22, 2021
Forked from HTML Starter

This example shows four basic SVG shapes rendered in a 960×500 viewport. Two circles and two rectangles demonstrate SVG’s default black fill versus explicit CSS-independent color attributes, using named colors and hex values. The code relies on plain HTML, inline SVG elements, and a linked stylesheet that resets margins and hides overflow. It uses no JavaScript, React, or data, serving as a bare-minimum illustration of static SVG markup and CSS integration.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes