Answers for "border hover css"

CSS
0

how to make border hover effect in css

box-shadow: 0 0 5px <your color>, 0 0 5px <your color>, 0 0 10px <your color>;
Posted by: Guest on October-30-2020
1

add border at hover of div

.photo{
  /*2 rem outside border */
  outline-offset:2rem;
  &:hover{
    outline:1.5rem solid green;
  
}
Posted by: Guest on March-04-2022

Browse Popular Code Answers by Language