D
D
doctorcat2016-06-15 13:29:44
css
doctorcat, 2016-06-15 13:29:44

How to layout adaptively 7 elements in bootstrap?

Greetings, I ask for help from professionals. There is a need to place 7 elements in one row, elements of approximately 140 width 500 height. The bottom line: there is a psd layout where the elements of those same 7 pieces do not all have the same width and are arranged so that they just look even. How can I lay out these 7 elements evenly and make them responsive? I’ll clarify: I think it’s possible to make 7 elements adaptively by automatically setting the width at different resolutions using javascript, for example. But I don't think I'm thinking correctly. Correct, point to the true path. Peace for everyone.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Justin Bieber, 2016-06-15
@doctorcat

frontender.info/a-guide-to-flexbox

S
semki096, 2016-06-15
@semki096

do

<style>
.my_7 {
width: 14.285%;
float: left;
...
}
</style>
<div class="row">
<div class="my-7"></div>
<div class="my-7"></div>
...
<div class="my-7"></div>
</div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question