有没有办法做到这一点,因为它只是重复相同的代码?
.button-hover {
color: $button-hover-font-color;
background-color: $button-hover-color;
&:hover, &:focus, &:active, &:visited {
color: $button-hover-font-color;
background-color: $button-hover-color;
}
}