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:

  1. use padding
  2. use border-right: 1px solid transparent;
  3. 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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -