DEV Community

loading...

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

ivkemilioner profile image ivkeMilioner ・1 min read

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

Please help.

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

Discussion (2)

pic
Editor guide
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 Author

Tnx !!!! It helps me!!