Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

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

user-image
Question added by Yasmeen Husam , Web Developer , Al Fahid Systems
Date Posted: 2018/11/28

<style>

#class name or id name{

z-index:99999;

}

</style>

Muhammad Farhan
by Muhammad Farhan , Web Desinger , Fiverr

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

santhosh c
by 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. 

iam web desighner not web develper

Ali Abasi
by 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
by ZAHRA ALGHRYAFI , Employment Advisor , Sawaeed

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

Md Alamgir Hossain
by 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
by Haitham Fouad , IT Sector Senior Supervisor , Tahya Misr Fund

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

Nazia Nazir
by 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
by mohamed saad , Senior WordPress developer , Innostead

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

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.