A
A
Anon33632020-06-08 11:07:12
Bootstrap
Anon3363, 2020-06-08 11:07:12

How to create such blocks in this position using Bootstrap?

5eddf17fcee82718518837.png
Not how it doesn't work

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
persol, 2020-06-08
@persol

It is possible like this:

<div class="container">
     <div class="row">
         <div class="col-4">
             <div class="row">
                 <div class="col-12">block-1</div>
                 <div class="col-12">block-2</div>
                 <div class="col-12">block-3</div>
                 <div class="col-12">block-4</div>
             </div>
         </div>
          
         <div class="col-8">
             <div class="row">
                 <div class="col-12">block-1</div>
                 <div class="col-12">block-2</div>
                 <div class="col-12">block-3</div>
                 <div class="col-12">block-4</div>
                 <div class="col-12">block-5</div>
                 <div class="col-12">block-6</div>
             </div>
         </div>
            
     </div>
</div>

You can also do this:
<div class="container">
     <div class="row">
         <div class="col-4">block-1</div>
         <div class="col-8">block-2</div>

         <div class="col-4">block-3</div>
         <div class="col-8">block-4</div>

         <div class="col-4">block-5</div>
         <div class="col-8">block-6</div>

         <div class="col-4">*оставляем пустым*</div>
         <div class="col-8">block-9</div>

         <div class="col-4">*оставляем пустым*</div>
         <div class="col-8">block-10</div>
     </div>
</div>

A
Alexey Orlov, 2020-06-08
@LeshaGFB

flex-direction: column;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question