How does the css selector select elements at its level?

<div class="a"></div>
<div class="b"></div>
abcss
Mar.31,2021

the answer given by the brother upstairs can solve the example in your problem perfectly.
+ only applies to parallel elements immediately following. If there is more element c between an and b, then using .a: hover+.b is invalid.
it is recommended to use ~ , which can select all subsequent peer elements of this element

  

.a: hover+.b

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eafaa0-2278.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eafaa0-2278.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?