scss hover
.class {
margin:20px;
&:hover {
color:yellow;
}
}
upraviť vznášať sa s sass
You can nest this code inside the element which you want to modify in a specific
state. Example:
button
background: none
&:hover
color: red
This would result in a hover modified button