I have two divs, one with a white background, one with a black background:
<style>
#leftside
{
float:left;
width:50%;
height:100%;
background:#fff;
}
#rightside
{
float:right;
width:50%;
height:100%;
background:#000;
}
<div id="leftside">
</div>
<div id="rightside">
</div>
What I wish to do is write a text that goes over both of the divs but has an inverted color depending on which div that letter's pixel is over.
Something like
I COULD just <span>
and set the letter's color properly but this doesn't handle the situation when a single letter is on both divs.
Anything I could do? (if possible I'd like not to get down to CSS that only Chrome 47 and Firefox 43 support).