When elements within a container overlap, the z-index property can be used to indicate how those items are stacked on top of each other. Which set of statements is true?

Advertisement

  • 1. Larger z-index values appear on top elements with a lower z-index value.
    2. Negative and positive number can be used.
    3. z-index can be used only on positioned elements.
  • 1. Smaller z-index values appear on top of elements with a larger z-index value.
    2. Negative and positive numbers can be used.
    3. z-index can be used with or without positioned elements.
  • 1. Smaller z-index values appear on top of elements with a larger z-index value.
    2. Negative and positive number can be used.
    3. z-index must also be used with positioned elements.
  • 1. Larger z-index values appear on top of elements with a lower z-index value.
    2. Only positive number can be used.
    3. z-index must also be used with positioned elements.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend