1
I am unable to use the following Ivs with the properties:
.grid {
display: block;
}
@media (min-width: 992px) {
.grid {
display: flex;
flex-wrap: wrap;
}
}
.column.left {
flex: 4;
background-color: red;
}
.column.right {
flex: 8;
background-color: blue;
}
I realized that if I remove this:
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
works perfectly, but if I let it doesn’t work, the problem is that I need the box-Sizing
<main class="main">
<section class="section">
<div class="container">
<div class="grid">
<div class="column left">a</div>
<div class="column right">a</div>
</div>
</div>
</section>
</main>
Put HTML in question also that facilitates.
– Sam
@ready dvd added
– Banks
face, that I know the Bootstrap already has by default the border-box in the elements. I tested here and I saw no different behavior.
– Sam
but I’m not wearing bootstrap
– Banks