Last updated: 2026-10-25
24 POKÉMON, ZERO IMAGES, PURE CSS!
A pure CSS Pokémon pixel art gallery with 24 Pokémon Quest characters, zero image files, and 256-grid proportional scaling
- Zero-Image Rendering — Empty
divelements and::before/::afterpseudo-elements draw the blocky Pokémon Quest sprites #001–#024, so the page loads no image files. - 256-Grid Proportional Coordinates — Every color block sits at
calc(n / 256 * var(--width-fr)), so changing one variable rescales the whole sprite without distortion. - Responsive Card Size — Cards render at 8rem on narrow screens and grow to 16rem at widths ≥ 1024px while keeping pixel proportions intact.
- One Sass Partial per Pokémon — Each sprite lives in its own partial imported by the entry file, so adding a character takes one file and one markup block.
graph TB
HTML["index.html card markup"] --> Browser["Browser rendering"]
Entry["sass/index.scss global styles"] --> Partials["sass/no/_001–_024 sprite drawing"]
Entry --> CSS["css/index.css"]
Partials --> CSS
CSS --> Browser
Var["--width-fr card size"] --> Partials
This project is licensed under the MIT LICENSE.
Just open an issue to share an idea.
©️ 2023 邱敬幃 Pardn Chiu