4 ms·
Honestly, I just use .something { width: calc(33.33% - #{$spacing-small*3/2}); margin-left: $spacing-small; &:first-of-type { margin-left:
by connorjburton 10y ago
Honestly, I just use
.something
{
width: calc(33.33% - #{$spacing-small*3/2});
margin-left: $spacing-small;
&:first-of-type
{
margin-left: 0;
}
}
Well simple
- deleted 10y ago[deleted]
- connorjburton 10y agoCorrection: .something { width: calc(33.33% - #{$spacing-small*2/3}); margin-left: $spacing-small; &:first-of-type { margin-left: 0; } }
- err4nt 10y ago.something { width: calc(33.33% - .66em); margin-left: 1em; } .something:first-of-type { margin-left: 0; }
- qbert 10y agoFor the gutters, just do: .something { width: calc(33.33% - #{$spacing-small * 2/3}); + .something { margin-left: $spacing-small; } }
- connorjburton 10y agoI like that!