what is ampersand in css code example
Example: ampersand css
//there is a lot of repetition
.button:visited {
//style goes here
}
.button:hover {
//style goes here
}
button:active {
//style goes here
}
//this can be simplified by using an ampersand
.button {
&:visited { }
&:hover { }
&:active { }
}