Skip to main content
100%

Fork of SVG Fundamentals

✓ Published0🌍 Public
HHieuVu179
Last edited Jan 2, 2023
Created on Jan 2, 2023
Forked from SVG Fundamentals

This example demonstrates fundamental SVG shapes and positioning within a fixed 960×500 viewport. It shows a house-like structure composed of rectangles—a cyan-tinted door, two windows, and a larger body—all outlined in navy, beneath a red triangular roof formed by three connected line segments. The code uses plain SVG elements such as `rect` and `line` with explicit `x`, `y`, and `stroke-width` attributes, rendered directly in the HTML without any JavaScript or external libraries.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes