SVG Fundamentals
✓ Published1🌍 Public
This example demonstrates the fundamentals of SVG drawing using four nested circles to create a concentric target pattern in red, white, and red. The circles are centered at the same coordinates, with radii decreasing from 110 to 20 pixels, achieving a layered bullseye effect. The code uses raw SVG elements within an HTML page, styled with CSS to remove the scrollbar. JavaScript is not active in this visualization; instead, the circles are declared directly in the `index.html` file. The `body` margin is set to zero and `overflow` is hidden to maximize the viewing area.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed