Skip to content
This repository was archived by the owner on Aug 4, 2019. It is now read-only.

Commit d495819

Browse files
committed
implement all-but-last mixin
1 parent e8ca382 commit d495819

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/_last-child.sass

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@mixin all-but-last($property, $value)
2+
// Set property to value except for the last child where it's zeroed
3+
#{$property}: $value
4+
&:last-child
5+
#{$property}: 0

0 commit comments

Comments
 (0)