Theory of the grid system css

3

I am watching a video about the grid system in css, but a doubt arises, at the level of theory. In these moments, the system of grids, for example the one of Foundation ¿is used to use it with Css grid and flexbox or it is no longer necessary with the modules that I have indicated?

Thank you!

    
asked by Raúl 01.01.2018 в 20:47
source

1 answer

4

Once you integrate the library, it can be Foundation or Bootstrap, you will not need to use the css grid nor flexbox rules, you simply give the corresponding classes to the documentation of these libraries so that it works.

For example in bootstrap if you want to make 4 columns, it's something like this:

<div class="container">
  <div class="row">
    <div class="col-md-4">Contenido</div>
    <div class="col-md-4">Contenido</div>
    <div class="col-md-4">Contenido</div>
    <div class="col-md-4">Contenido</div>
  </div>
</div>

And only with this HTML will you get 4 columns of equal size and responsive.

I hope my answer will help you.

Greetings!

    
answered by 03.01.2018 в 17:49