D
D
Dmitry Afanasiev2018-07-22 20:37:57
css
Dmitry Afanasiev, 2018-07-22 20:37:57

How to make such a list of product cards on flex?

How to do this on flex ?
5b54c1cf33f39055008546.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Popov, 2018-07-22
@be_a_dancer

Try like this

S
sdgroup14, 2018-07-23
@sdgroup14

something like this!

<style>
.parent {
display: flex;
flex-direction: column;
}
.child:first-of-type{
height: 100%
}

</style>
<div class="parent">
  <div class="child"></div>
  <div class="child"></div>
  <div class="child"></div>
  <div class="child"></div>
</div>

Y
Yevhenii K, 2018-07-22
@AFI19

Here is the block .banners
What you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question