DEV Community

Daniel
Daniel

Posted on

CSS z-index flexbox problem

Good evening dear community,

I would like to provide my "card" in the standard with z-index=1 and in the hover state with z-index=2, as I would also like to expand it as a checkbox to display further content.

But due to the responsive elements that I would like to receive, this is unfortunately not feasible with an absolute position.

I hope that someone can support me with the z-index topic.

Top comments (0)