🌍 Public
Fork of Shapes and Colors with SVG and CSS
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 descriptionAn example including some commonly used features of SVG.
MIT Licensed
Comments
Sign in to join the discussion.