I’m working on a site with a ‘featured’ post atop the home page. My page has a thin border at the top, and I’d love to be able to define the colour value of that border dynamically, from the dominant colour of the image in that featured post.
I would suggest to find the dominant color on the serverside ( php, ruby, asp, whatever ), and set the border color as inline css in this case. AND i would suggest the color-calculation to be done when image gets uploaded.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".