I
I
Ilya2018-05-24 13:45:10
css
Ilya, 2018-05-24 13:45:10

How to properly layout such a bootstrap 4 grid?

Here's the layout:
5b06973e87f6a134326675.jpeg
The blue block has a background, the red one is the input.
If I do .row>.col-7>.row>.col-?>input Then .col-7> .row
splits into its 12 columns and even then I can't get 5/12 of the total width:
5b06961741d3f729269670.jpeg
so that input is 5/12 of the total .row ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Froggyweb, 2018-05-24
@Mr_Epic

@include make-col($size, $columns: $grid-columns);
@include make-col(5, 7);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question