What does the + (plus sign) CSS selector mean?

Experience Level: Junior
Tags: CSS


The + (plus sign) CSS selector is used to select the elements that are placed immediately after the specified element but not inside the particular elements.

      ul {
        display: none;

      a:hover + ul {
        color: red;
        display: block;

    <a>Put mouse here</a>
      <li>This will be shown</li>


No Comments Yet.
Be the first to tell us what you think.