DEV Community

ivkeMilioner
ivkeMilioner

Posted on • Updated on

Image overlays div-s, z-index doesn't help.

Image overlays div-s, z-index doesn't help.

Please help.

https://codesandbox.io/s/brave-mclean-jg738

Top comments (2)

Collapse
 
hhahaha00261328 profile image
hhahahahaha • Edited

< img src={logo} alt="Logo" / >
< button className="About">About< /button>
< button className="Projekat">Project< /button>
< button className="Contact">Contact< /button>

+

img{
position: absolute;
}

This should do it.

Collapse
 
ivkemilioner profile image
ivkeMilioner

Tnx !!!! It helps me!!