DIV and ROW Boostrap

0

I'm starting in Boostrap and I'm trying to do a row and column exercise but I do not know where I'm failing

<div class="row">
<div class="column">Hola mundo</div>
</div>

I'm supposed to line up a bit to the right but I do not

    
asked by DANIEL FELIPE LOPEZ VARGAS 17.09.2017 в 02:54
source

2 answers

0

surely the alignment that you referred to could be for the .container class that adds some padding and margins.

You would recommend that you see more example, the grid system of boostrap works through 12 columns, each element that you think will occupy the number of columns that you define assigning it next to the class .col-cant_de_columnas . Here a small example

    <div class="container">
      <div class="row">
          <div class="col-6 caja_roja"></div>
          <div class="col-6 caja_azul"></div>  
      </div>
    </div>

I would also recommend that you set the sizes of screens you use, so that you can use them in different sizes of screens.

Boostrap - Grid documentation

    
answered by 17.09.2017 в 03:47
0

You have to indicate how many "columns" of the grid of 12 columns will take.

Bootstrap uses the following syntax: <div class="col-md-6"> where md will be the minimum width of a device to take that number of columns, and 6 the number of columns that your element will take.

    
answered by 17.09.2017 в 04:32