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 */
}