N
N
Nikita Boldyshev2016-02-26 20:31:57
Bootstrap
Nikita Boldyshev, 2016-02-26 20:31:57

How to align simple blocks in Boostrap?

d3bbaaede7984f239f6734a617cfd315.PNGc7af3396437d49a78c192813018d15ff.PNG
I created a layout prototype in PS and wondered how to typeset it later.
Here are a few blocks, if they are placed on a grid, then a large indent appears between them, which spoils the view.
If the blocks are moved towards each other, then we stop following the grid.
I have two ideas so far:
-Reconcile -Do
not use Boostrap on this page, but write adaptability yourself.
Not one option suits me. What would you do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Erokhin, 2016-02-27
@AirWorker

There are many solutions, but I would do this: .row => two .col-*-6, each of which has a .row with a grid of 12, that is, in total we get a grid of 24, and it will already give twice as much accuracy.
However, keep in mind that the Bootstrap grid will not allow you to make the blocks the same height if necessary - look towards other grids, flexbox is mainstream now.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question