U
U
Underdoggit2018-04-26 16:59:17
css
Underdoggit, 2018-04-26 16:59:17

Is it possible to layout the layout with a bootstrap grid, but use separate flexes in css?

5ae1db51d6389729298711.pngA question for a million - I make up a layout, I use a bootstrap grid (mainly because of a convenient adaptive), and a question arose if I use a bootstrap grid, but do not use the classes built into 4 bootstrap (like justify-content-center and so on, but I use flexes are already inside css - is this considered stupid practice and shit code? Bootstrap 4 is built on flexes, but let's say in this picture below that I posted, it's easier for me to write the block in col-3 - display: flex, and all its children (div img) write margin: auto so that they would be positioned in the center of the vertical\horizontal, rather than prescribe 3-4 classes in the bootstrap html grid. Is this a normal practice? or will they throw poop? Like
if you typeset on bootstrap 4, then only it.
Or use full flex without grids

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Komenda, 2018-04-26
@rafamont

CSS Smart Grid was invented especially for you, but you need to know SASS [SCSS] there

E
Eugene, 2018-04-26
@iamd503

.row->.col-3->div style="displat: flex;"->img

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question