Answers for "css hover"

CSS
3

scss hover

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

css hover animation

.YOURHTMLCONTENT i {
    height: auto;
    float: left;
    color: #fff;
    font-size: 55px;
    margin: 30px 30px 30px 30px;
    transition: 0.8s;
    transition-property: color, transform;
}

.YOURHTMLCONTENT i:hover {
    color: #FF5733;
    transform: scale(1.3);
}
Posted by: Guest on August-11-2020
2

cool hover effects css

.i {
    color: #fff;
    font-size: 35px;
    margin: 15px 15px 0 15px;
    transition: 0.2s;
    transition-property: color, transform;
}

i:hover {
    color: #FF5733;
    transform: scale(1.3);
}
Posted by: Guest on August-11-2020
25

on hover css

/* Changes an element's color on hover */

.selector {
	background-color: black;
}

.selector:hover {
	background-color: blue;
}
Posted by: Guest on February-15-2020
21

css hover

.a:hover{background-color: black;}
Posted by: Guest on February-20-2020
0

css hover

.my-div:hover{
  background-color: #f00; /*RED*/
}
/*When mouse come over .my-div the background-color will be changed to red*/
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language