Z-Index Explained
Hi guys, alot of people find z-index a tricky property to use, and alot of the time they feel it doesn’t work. Smashing Magazine have written a post that explains how it works in great details, but I’ll cut to the chase, when it doubt add position:relative (unless ofcourse you don’t want the position to be relative, in which case choose absolute or fixed).
If adding that didn’t help, get the full rundown at The Z-Index CSS Property: A Comprehensive Look.