Answers for "css border hover"

CSS
0

css border hover

Use transparent border to pre fill space when adding border dynamically
.item {
   border: 1px solid transparent;
}

.item:hover {
   border: 1px solid purple
}
Posted by: Guest on May-19-2022
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

Browse Popular Code Answers by Language