Shapes with SCG and CSS
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed