Skip to main content
100%

Svg

✓ Published0🌍 Public
PParna Saeidpour
Last edited Jul 3, 2022
Created on Jul 3, 2022
Forked from HTML Starter

This example shows two overlapping triangles rendered inside a 500×500 pixel SVG canvas with a light pink background. The first red triangle spans from the top-left to the center, while the second green triangle points downward, creating a stylized bow-tie or hourglass shape when combined. The graphic is built using raw SVG markup in an HTML file, with the `path` element defining each polygon’s vertices via the `d` attribute. CSS styles the canvas background, while SVG attributes `fill` and `stroke` set the triangles’ colors and outlines. No JavaScript is used; the rendering relies entirely on the browser’s native SVG support.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes