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 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.