C
C
Cosmonaut.2018-02-16 13:17:46
Layout
Cosmonaut., 2018-02-16 13:17:46

How to correctly and adaptively layout?

Hello. Help How to correctly and adaptively layout this layout.
5a86b2ae96154992747967.jpeg
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dymok, 2018-02-16
@UnluckySerivelha

https://codepen.io/anon/pen/aqVjEq

V
Vasily Vasilyev, 2018-02-16
@Basil_Dev

By eye:

.gallery-container{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.thumbnail{
margin: 10px;
}

If you are talking about the positioning of the description - then .thumbnail{position: relative;}, and inside it is the description block with{position: absolute; bottom: 0; left 0; right: 0}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question