Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the use from " z-index" in CSS?

user-image
Question ajoutée par Yasmeen Husam , Web Developer , Al Fahid Systems
Date de publication: 2018/11/28
Utilisateur supprimé
par Utilisateur supprimé

<style>

#class name or id name{

z-index:99999;

}

</style>

Muhammad Farhan
par Muhammad Farhan , Web Desinger , Fiverr

It is positioned element that use to overlap the two div(boxes).

santhosh c
par santhosh c , Senior Software Engineer , Philips

z-index is used to position the elements on top, basically like stacking the elements. Those elements with higher z-index value will be on top. 

Ali Abasi
par Ali Abasi , IT Manager , AhanNet

An element with greater z-index number is always in front of an element with a lower z-index number.

ZAHRA ALGHRYAFI
par ZAHRA ALGHRYAFI , Employment Advisor , Sawaeed

z-index is a css property that enables the layering of elements (in front of, behond)

Md Alamgir Hossain
par Md Alamgir Hossain , Sr. Graphic Designer , www.ajkerdeal.com

The z-index property specifies the stack order of an element.

simply the order of elemnt which win will apear first look like layers and you choose to apear first

Haitham Fouad
par Haitham Fouad , Deputy IT Director , Tahya Misr Fund

z-index is a css property that allows to position an object/element in front/behind of other

Nazia Nazir
par Nazia Nazir , IT Analyst , Tata consultancy services

z-index is basically to give significance if we have multiple divisions overlapping.The one with greater z-index will stand out more than the other

mohamed saad
par mohamed saad , Senior Full Stack WordPress Developer / Team Leader , Qeema tech

z-index is responsible for setting layers and selecting its order on css

More Questions Like This