W3C home > Mailing lists > Public > www-style@w3.org > December 2003

hover affecting multiple classes

From: Douglas, John <JDouglas@GTNInc.com>
Date: Wed, 10 Dec 2003 17:31:40 -0500
Message-ID: <60377408A945D311A2AA00508B0BBA5001011654@GTNMAIL>
To: "'www-style@w3.org'" <www-style@w3.org>

is it possible (in CSS2) to have multiple elements be affected when a
certain element has the cursor hover over it?

<a href="#" class=master>stuff</a>
<div class=slave>wow</div>

.master {
	color: blue;
.slave {
	color: black;

what would be the proper css so that if i hover over "stuff" that "wow"
changes color?
Received on Wednesday, 10 December 2003 17:29:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC