DEV Community

Discussion on: Creating Pixel Art with CSS

Collapse
 
willsmart profile image
willsmart • Edited

Such a cool technique! Great post.

I noticed you're drawing a lot of transparent shadow pixels though, they're easily gotten rid of via something like:

Which might speed up rendering a bit (depending on the how many transparent pixels there are and if there are mysterious render optimisations in play).

Collapse
 
jnschrag profile image
Jacque Schrag

Yes, drawing the transparent box-shadows aren't necessary, so that's a great improvement! Thanks for sharing. :D