1px margin on span-columns with Bourbon Neat -
i want this:
@include span-columns(4 of 12, block-collapse);
...but want 1 pixel margin on right side of column 1 , 2, how do that?
unfortunately there isnt way that. have couple of options:
- use padding
- use border-right: 1px solid transparent;
- copy output css , add 1 px using
calc()
, add scss after mixin
example
.card { @include span-columns(4 of 12, block-collapse); margin-left: calc(??% + 1px) }
Comments
Post a Comment