Last updated: Dec 26, 2020
px → css
Turn pixel art into HTML/CSS code that you can use on your site. Originally designed for use on AO3.
This page can be downloaded and used offline. It is completely self contained and can be saved as HTML only.
Warning: .png files only. Keep the image size low; the output text can get extremely large, if the page doesn't crash first.
Give the element a unique ID so the style can be applied properly.
Set the scale of the art. You don't need to resize your image in an image editing application.
Paste this into the html of your website.
Paste this into your stylesheet or inside of