Letters with CSS

Pure CSS

Letters with CSS

The 26 capital letters of the English alphabet, drawn with nothing but HTML and CSS. No images, no SVG, no fonts. I drew them in 2021 to practise four CSS techniques: pseudo-elements, borders and box-shadow, positioning, and transforms. Pick any letter to see and copy its code.

26 letters

More projects like these

Paste both into any page to draw it. Change --ink to recolour it. See every letter in style.css on GitHub.