CSS: How to apply adjustments only to the parent element?

This is part of the basic knowledge, but maybe not everyone knows it. So that CSS adjustments are only applied to parent elements, we work here with the >.

#mainmenue > ul:hover {
    /* style */
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.