scss hover class code example
Example 1: scss hover
.class {
margin:20px;
&:hover {
color:yellow;
}
}
Example 2: scss hover
.button {
&:hover {
opacity: 1;
}
&:active {
position: relative;
top: 7px;
box-shadow: none;
}
}