DEV Community

loading...

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

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

Forem Open with the Forem app