you can see how there is a border rule repetition here and down below. Add an option for your mixin which would allow to hide the bottom border if passed. (use default parameter values for that)