Answers for "outline only on bottom css"

CSS
1

outline bottom css

div {
    width: 100px;
    height: 100px;
    background: #eee;
}
div:hover {
    width: 100px;
    height: 100px;
    background: #eee;
    border-bottom: 1px solid;
    margin-bottom: -1px;
}
Posted by: Guest on March-06-2020
0

put a border only on bottom

#element {
   border-bottom: 1px solid;
}
Posted by: Guest on January-16-2022

Browse Popular Code Answers by Language