apply the same sass with hover code example Example: scss hover .class { margin:20px; &:hover { color:yellow; } }