Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (16 sloc) 687 Bytes

Pointless Image To CSS box-shadow Converter

You suck at CSS but want to impress your friends anyway? This PHP class converts an image to thousands of CSS lines of box-shadow properties. It's totally pointless... but life is pointless...


You can see a demonstration on


include 'PointlessImageToCssConverter.php';

$img = new PointlessImageToCssConverter("monalisa.jpg");

echo $img->computeStyle();


GD extension required.

Jump to Line
Something went wrong with that request. Please try again.