Answers for "add hover sass"

CSS
1

edit hover with 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
Posted by: Guest on October-12-2021
4

scss hover

.class {
    margin:20px;
    &:hover {
        color:yellow;
    }
}
Posted by: Guest on June-20-2020
1

scss hover

.button {
    &:hover {
      opacity: 1;
    }
    &:active {
      position: relative;
      top: 7px;
      box-shadow: none;
    }
}
Posted by: Guest on April-01-2021

Browse Popular Code Answers by Language