
Pixel border generator
Chunky, stepped pixel-art borders made from CSS alone: no pictures to host, sharp at every size.
Runs in your browser. Nothing you make is uploaded.
Presets
How to use it
- Pick a style: stepped corners, double line, or a game dialogue box.
- Set the pixel size, colours and an optional drop shadow.
- Copy the CSS and add
class="pixel-box"to any box.
Every value is written in standard CSS that works in all current browsers (Chrome, Edge, Firefox, Safari).
Questions
How does it work without images?
The border is drawn with box-shadow rectangles: each shadow is one stripe of pixels. It scales cleanly and costs no downloads.
Can I use it with NES.css?
Yes, it works on any page. For a full 8-bit kit, see the NES.css template.
Why does the corner look round on my site?
Remove any border-radius on the same box; pixel borders need square corners.
