70
rated 0 times
[
76]
[
6]
/ answers: 1 / hits: 23426
/ 9 Years ago, sat, october 3, 2015, 12:00:00
on this page i have the first div
as a dark image and the second as a light background.
i want the sidebar text color to be light on the dark image and dark on the light.
how would i set the color according to what div
is in the background? just need it for two color options.
this is another example of what I'm looking for http://www.acnestudios.com/
example html:
<div id=home_wrapper>
<div id=home_top_t_wrap> <!-- DARK BACKGROUND -->
<h1 class=top_text_h1> Shop New York Like Never Before </h1> <!-- TEXT THAT NEEDS TO GO FROM LIGHT TO DARK --> </div>
<div id=the_market_container> <!-- LIGHT BACKGROUND --></div>
</div>
More From » jquery