I have a CSS class called "box" that I am utilizing in my project.
.box {
margin: 5px;
padding: 5px;
display: inline-block;
width: 240px;
height: 290px!important;
background-color:#FDFEFE;
text-align: center;
vertical-align: top;
float: left;
}
Currently, I am using this class to showcase items on an HTML page as shown below.
<div class='box'>
<ng-include src="'commonTemplate.html'"></ng-include>
</div>
I would like to implement mouse enter and mouse leave effects in this box.
Specifically, I want the background color of the box to change to a different color when the user hovers over it with the mouse, and revert back to the original color when the mouse leaves.