Fork of HTML Starter
✓ Published0🌍 Public
This example shows an SVG mask revealing a pattern of 100 horizontal stripes inside an ellipse. The code creates the mask with an ellipse element, then appends rectangles with a `mask` attribute referencing that ellipse. It uses vanilla JavaScript DOM manipulation, `document.createElementNS` for SVG namespacing, and `window.innerWidth/innerHeight` to size the scene.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed