Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
Sshawnsrk
Last edited Dec 16, 2020
Created on Dec 16, 2020
Forked from HTML Starter

This example shows a minimal HTML page that renders basic SVG shapes—two circles and a rectangle—styled and positioned through inline SVG attributes. The page loads a single SVG element with a fixed width and height, using raw SVG markup without any external libraries. It also includes a small inline script that logs a message to the browser’s developer console, demonstrating a simple integration of CSS and JavaScript within an HTML document. The rendering relies entirely on native SVG support in the browser, with the `console.log` call as the only JavaScript interaction.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes