@mixin inputError() { border-color: $danger; &:focus, &:active { border-color: $danger; box-shadow: 0 0 0 1px $danger; } }