Dynamic CSS with Razor (part 2)(www.h3mm3.com)
submitted by
hemme(189) 3 months, 17 days ago
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.
|category: MVC
|Views: 280
tags:
MVC another
Everyones tags:
Your Tags: