Using box-shadow
, it’s possible to create a pixels on screen:
See the Pen
Pixel Art 3: Side-by-Side Box-Shadow by Jacque (@jschrag)
on CodePen.
As you can define multiple box-shadow
entries – comma-separated – it’s possible to draw multiple pixels on screen …
Creating Pixel Art with CSS →
Published by Bramus!
Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)
View more posts