DEV Community

ivkeMilioner
ivkeMilioner

Posted 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

Discussion (2)

Collapse
hhahaha00261328 profile image
hhahahahaha • Edited on

< 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 Author

Tnx !!!! It helps me!!