Skip to main content
100%

Fork of Shapes and Colors with SVG and CSS

✓ Published1🌍 Public
Ssaisathyapriya097@gmail.com
Last edited Feb 27, 2024
Created on Feb 27, 2024

This example demonstrates basic SVG shapes and styling using CSS, featuring two circles of different sizes and colors within an SVG canvas. The larger blue circle with a black stroke contrasts with the smaller default black circle, while a CSS transform scales the entire group. The rendering relies on native SVG elements (`<circle>`, `<g>`) and a linked stylesheet (`styles.css`) that sets body margins, overflow properties, and stroke styling classes. The code uses standard SVG attributes like `cx`, `cy`, `r`, and `fill`, with no external JavaScript libraries, purely showcasing SVG's built-in capabilities for static vector graphics.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes