Grid system, calculations of

Asked

Viewed 126 times

0

Before I start my question, I want to make it clear, I’ve seen some related topics.

This is one of them, where Guilherme Nascimento explains how it works media queries, and the answer that was accepted in the question already explains how to calculate, but there is a...

Following the tips of the accepted answer, I tried but could not, no Bootstrap has the col-md-5, I tried to reach this result:

.col-md-5   { width: 41.66666667%; }

But I could not, as the calculation of the grid column was done MD of Bootstrap?

1 answer

1


The bootstrap standard is to divide the layout into 12 columns of equal size. In this case, the 5 in the class name indicates that the element must occupy 5 columns, that is 5/12 which is equivalent to 41.66667%.

  • 5/12100 correct? gave this result even. Very simple and I doing: 992/1200100

Browser other questions tagged

You are not signed in. Login or sign up in order to post.