Home html Mesh Marking in Bootstrap 4

Mesh Marking in Bootstrap 4

Author

Date

Category

There are two markup options, but which one is correct?

& lt; div class = "container" & gt;
  & lt; div class = "row" & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
  & lt; / div & gt;
& lt; / div & gt;

or

& lt; div class = "container" & gt;
  & lt; div class = "row" & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
  & lt; / div & gt;
  & lt; div class = "row" & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
    & lt; div class = "col-3" & gt; & lt; / div & gt;
  & lt; / div & gt;
& lt; / div & gt;

Answer 1, Authority 100%

Both versions are true. It all depends on the situation.
Even in the Bootstrap 4 documentation itself there is an example where The columns are used to the conventional sum of greater than 12

 Mix and Match]

There is Interesting Material (English) , where a couple of examples of using the first option, beginners will be useful.


Answer 2, Authority 50%

row- class allows all the blocks in one line podravnyat.V this case, the second option is correct, since a maximum of 12 screens, and you fill in all 12. In one scenario, you’re trying to cram 12 to 24 mesh screens, so it will slide down. (where md, sm, lg, xs)?

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions