The z-index helps to specify the stack order of positioned elements that may overlap one another. The z-index default value is zero and can take on either a positive or negative number.
An element with a higher z-index is always stacked above than a lower index.
Z-Index can take the following values:
Use Z Index if you need to put a background element below a container. You can easily place the background under every element by giving it a negative Z Index
#background {
z-index: -1;
}