What is z-index?
Using the CSS z-index
property, you can manipulate vertical stacking for overlapping elements:
Note: if you worry about
z-index
not working, make sure to only use it for elements which have their position value defined asstatic
.

- Simplistic design (no unnecessary information)
- High-quality courses (even the free ones)
- Variety of features
- Nanodegree programs
- Suitable for enterprises
- Paid certificates of completion

- Professional service
- Flexible timetables
- A variety of features to choose from
- Professional certificates of completion
- University-level courses
- Multiple Online degree programs

- Great user experience
- Offers quality content
- Very transparent with their pricing
- Free certificates of completion
- Focused on data science skills
- Flexible learning timetable
CSS z-index property syntax
To define the z-index
for an element, you need to specify one value:
z-index: value;
The default value is auto
, which means the stacking level depends on the parent container.
To define a custom level, use a unitless number. Elements with higher values will cover the ones with smaller values.
Browser support

Chrome

Edge

Firefox

IE

Opera

Safari
Mobile browser support

Chrome

Firefox

Opera

Safari
Latest Udacity Coupon Found:
75% OFF COURSES
Udacity Black Friday Offer
The best time to save on Udacity courses is now - follow this coupon to access a 75% Udacity Black Friday discount & enjoy learning at a very low cost!