This repo demostrates the use of plus(+) and asterisk(*) in CSS. Applying effect to element on hover
.list .item:hover + * {
// apply to the next/right items on hover
}
This repo demostrates the use of plus(+) and asterisk(*) in CSS. Applying effect to element on hover
.list .item:has(+ *:hover){
// apply to the previous/left items on hover
}
Dont forget to star⭐ and fork🍴this repo📗
📷 👇