create hover css function with sass code example Example: scss hover .class { margin:20px; &:hover { color:yellow; } }