1 2 3 4 5 6 7 8 9 10 11 12 13 14
@mixin dot($size, $color, $marginRight) { position: relative; &:before { position: absolute; content: ''; display: inline-block; width: $size; height: $size; border-radius: 50%; background: $color; margin-right: $marginRight; vertical-align: middle; } }