How to make sure that when you hover over a card, the information is on top of the next card?

  • 0
    It is necessary that the next card is under the previous one and the last one opens to the left.

    codepen
    JavaScript Lilah Roth, Oct 22, 2019

  • 3 Answers
  • 0
    duc z-index

    but about the second xs, even on js, noob himself
    Anonymous

  • 0
    It is better to radically change the approach, and there will be problems with the adaptive, and with the touch, and even on the desktop, you overlap the neighboring element ...
    Anonymous

  • 0
    .cards-col-cont:hover{
    width: 500px;
    transition: 0.3s;
    z-index: 1;
    }


    then the child block opens on top of the neighbors
    Evelyn Blackwell

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!