pauloabmiranda
9/30/2015 - 5:50 PM

No border on last item Protip: Use CSS :not() instead of applying and unapplying borders on navigations.

No border on last item

Protip: Use CSS :not() instead of applying and unapplying borders on navigations.

// no border on the last element
&:not(:last-child){
  border-right: 1px solid #424242;
}

// no border on the first element
& + & {
  border-left: 1px solid;
}