- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 10 Dec 2003 19:30:21 -0600
- To: "Douglas, John" <JDouglas@GTNInc.com>
- Cc: "'www-style@w3.org'" <www-style@w3.org>
Douglas, John wrote:
> <a href="#" class=master>stuff</a>
> <div class=slave>wow</div>
> what would be the proper css so that if i hover over "stuff" that "wow"
> changes color?
In this case,
.master:hover + .slave { color: whatever }
In general, you would need to somehow select the .slave thing with a
selector that passes through .master.
Received on Wednesday, 10 December 2003 20:30:24 UTC