Last Updated: February 25, 2016
·
684
· ytilis

On Z-Index

Remember that for a z-index to function correctly, the element in question must not have its position set to static, which is the default position in CSS. So remember to set it to relative, absolute, or fixed, depending on the desired effect.