& hover sass code example
Example 1: onhover sass
&:hover
//activates on hover
Example 2: scss hover
.class {
margin:20px;
&:hover {
color:yellow;
}
}
&:hover
//activates on hover
.class {
margin:20px;
&:hover {
color:yellow;
}
}