Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.
I love the look of checkered text, and I'm using it on my website (see travisemergency.com), but right now my XHTML to get this effect is huge.
This is what the code looks like for the big text at the top of that page:
<span class="c"></span><span class="b">u</span><span class="c">l</span><span class="b">i</span><span class="c">a</span><span class="b">n</span><span class="c"> </span><span class="b">b</span><span class="c">e</span><span class="b">n</span><span class="c">n</span><span class="b">e</span><span class="c">t</span><span class="b">t</span><span class="c"> </span><span class="b">h</span><span class="c">o</span><span class="b">l</span><span class="c">m</span><span class="b">e</span><span class="c">s</span>
(I'm pretty much just putting each letter in its own <span> with alternating classes "b" and "c")
and then I've got a bit of CSS to actually implement the effect:
.c {
background-color: #FFFFFF;
color: #000000;
}
.b {
background-color: #000000;
color: #FFFFFF;
}
But that's a rediculous amount of code for such a simple effect.
I'm just wondering if there's a better way to do this.
Can't I get rid of all those <span>s?
1 to 12 of 12