X
X
xxxfdd2021-04-14 22:02:58
Sass
xxxfdd, 2021-04-14 22:02:58

How can I get all elements on the same line?

I have all blocks of different heights and I center align the elements, but they are not on the same line.
How can this be solved, please tell me?

&__bottom-hover{
    position: absolute;
    display: flex;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
  }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
natoje-zlo, 2021-04-14
@natoje-zlo

attach a normal code, or better, drop it on the codepen
align-items: center;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question