CSS – Using AND in classes
I am totally stunned that I have gone so long without knowing this works. <div class=”foo bar”>ONE</div> <div class=”foo”>TWO</div> <div class=”bar”>THREE</div> Before today, I didn’t think you could make a single-line CSS statement that affected ONLY number ONE and not TWO AND THREE. Previously, I would do torturous workarounds. But I was just informed today…