Как удалить поле из двух столбцов с вложенными столбцами смещения внутри них. Я хочу убедиться, что содержимое внутри столбца всегда сосредоточено, и я не могу заставить его работать, используя mixin @include row (table);
.Удалить вложенные столбцы с Bourbon Neat
HTML-
<section>
<div class="container">
<div class="col">
<div class="inner">
centered content
</div>
</div>
<div class="col">
<div class="inner">
centered content
</div>
</div>
</div>
</section>
SCSS
@import "bourbon";
@import "neat";
section{
@include outer-container(100%);
.container{
@include span-columns(12);
@include fill-parent;
.col{
@include span-columns(6);
border: 2px solid black;
.inner{
@include shift-in-context(1 of 6);
@include span-columns(8 of 12);
background: red;
}
}
}
}
Я хочу удалить промежуток между колоннами (оригинальная ручка), сохраняя при этом 100% ширину контейнера. – Simon
См. Мой отредактированный ответ. – Cyto