Pure CSS
Shapes with CSS
Twenty-six shapes, from a circle to a magnifying glass, drawn with nothing but HTML and CSS. No images, no SVG. I drew them in 2021 to practise four CSS techniques: pseudo-elements, borders and box-shadow, positioning, and transforms. Pick any shape to see and copy its code.