FreeHostia Forums
http://forum.freehostia.com/

Re: Adding pseudoclass to child selector
http://forum.freehostia.com/viewtopic.php?f=8&t=66282
Page 1 of 1

Author:  Humele344 [ Thu Jun 30, 2022 12:45 pm ]
Post subject:  Re: Adding pseudoclass to child selector

Your selector is incorrect. .card:hover div:nth-child(odd) is selecting odd-indexed divs that are decendants of a .card echat, but your structure suggests that these should be the same thing. Adjust your selector to match the odd elements echatrandom on hover

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/