R
R
relows2018-12-10 19:52:05
css
relows, 2018-12-10 19:52:05

How to make 5 and 2 columns with Bootstrap like in the example?

Here's how it should be:5c0e998c8b567774371480.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
relows, 2018-12-16
@relows

an element with a border and padding must be inside .col
or using flexbox (if you don’t know what it is, I highly advise you to find out)

I
imullika1, 2018-12-10
@imullika1

<div class="container">
    <!-- Первая строка -->
    <div class="row">
       <!-- Первая колонка -->
        <div class="col"></div>
       <!-- Вторая колонка -->
        <div class="col"></div>
    </div>
    <!-- Первая строка -->
    <div class="row">
       <!-- Первая колонка -->
        <div class="col"></div>
       <!-- Вторая колонка -->
        <div class="col"></div>
       <!-- Третья колонка -->
        <div class="col"></div>
       <!-- Четвертая колонка -->
        <div class="col"></div>
       <!-- Пятая колонка -->
        <div class="col"></div>
    </div>
</div>

A
Alex Glebov, 2018-12-10
@SkiperX

https://getbootstrap.com/docs/4.0/layout/grid/
1/5 column

.example-col {
  @include make-col-ready();
  @include make-col(1, 5);
  
  
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question