Is it possible to have :hover on a parent DIV which only changes the background colour of one of its child DIVs?
On 22/08/2020 23:52, Andrew Poulos wrote:
Is it possible to have :hover on a parent DIV which only changes thesomething like this:
background colour of one of its child DIVs?
|.parent:hover>.child-1 { background-color: #FFFFFF; }
On 23/08/2020 9:12 am, Y~% Good Guy Y~% wrote:
On 22/08/2020 23:52, Andrew Poulos wrote:
Is it possible to have :hover on a parent DIV which only changes thesomething like this:
background colour of one of its child DIVs?
|.parent:hover>.child-1 { background-color: #FFFFFF; }
Too my surprise, it works. Thanks.
Andrew Poulos <ap_prog@hotmail.com> wrote on 23 Aug 2020 in comp.infosystems.www.authoring.stylesheets:
On 23/08/2020 9:12 am, ÐY~% Good Guy ÐY~% wrote:
On 22/08/2020 23:52, Andrew Poulos wrote:
Is it possible to have :hover on a parent DIV which only changes thesomething like this:
background colour of one of its child DIVs?
|.parent:hover>.child-1 { background-color: #FFFFFF; }
Too my surprise, it works. Thanks.
Even so, gender-identity is not a choice and does not depend on the child's semantic background, parents should not hover over their children trying to change this.
|.parent:hover>.child-1 { background-color: #FFFFFF; }
Too my surprise, it works. Thanks.
Even so, gender-identity is not a choice and does not depend on the
child's semantic background, parents should not hover over their
children trying to change this.
Yes, you're right that parents should take no responsibility for their children's well being.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 227:46:23 |
Calls: | 6,624 |
Calls today: | 6 |
Files: | 12,171 |
Messages: | 5,318,859 |