CSS class:hover select all other elements
I can’t find how to do this online, how do I go about selecting any elements within a element and apply styles to them. For example:
I want that class style to hide ALL images next to it. It only hides ONE image at the moment though…
If you want to hide all succeeding image elements, use the general sibling combinator,
You were using the adjacent sibling combinator,
+, which will only hide the adjacent element.