mixinmax / jquery.swatches

A jQuery plugin that turns a one-line div into a sweet color swatch
http://maxmackie.github.io/jquery.swatches/
243 stars 26 forks source link

Swapped markup creation to use jQuery, small CSS tweaks #4

Closed pkarl closed 11 years ago

pkarl commented 11 years ago

Instead of using strings for markup, I've swapped in jQuery's element creation/manipulation machinery to make this easier to read, to maintain, and to configure.

Small CSS tweaks related to an invalid property value along with a less aggressive opacity solution (individual rgba values for background-color + text)