Error!
Success!

Dynamic CSS with Razor (part 2)

0
kicks

Dynamic CSS with Razor (part 2)  (Unpublished)

In PART ONE we saw how to create a gradient programmatically in order automate a CSS stylesheet using the Razor engine. We started from a base color in the RGB space and converted it to the HSL space. Given its Lightness we could easily build shades and highlights of the starting color.


Kicked By:
Drop Kicked By: