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?

  • 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
Continue in browser
To install tap
and choose
Add to Home Screen
G Certification Course
Get our web app. It won't take up space on your phone.
Install
G Certification Course We would like to show you notifications for the latest news and updates.
Dismiss
Allow Notifications
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.