Sassy Mother Effing Text Shadow

Don’t try this at home.

This CSS has been beaten to within an inch of death. It’s too big, unreadable, and completely impractical.Sass should not be used to such ill-conceived ends.

But its fun, and looks “cool”.

WTF

I wanted to find out if I could make Sass generate a pile of shadows for me. I thought maybe I could trick it into drawing shadows in funny shapes. For the first step I just needed to just create a simple long diagonal shadow. The trick here is that I’m building a string to be used as a shadow one iteration at a time using the @for loop, and then outputting whole generated shadow. I’m using Compass’s text-shadow mixin to smooth out any browser prefixes.

*

There shouldn’t be more. I’d like to tell you that a masked gunman made me make a Lorenz Attractor in Sass. But the truth is that it was just bad judgement. For the love of all that is good don’t use this anywhere. The CSS is just out of control. View source at your peril.