<div class="box"></div>
.box {
 	background-color: #f00;
	width: 100px;
	height: 100px;
}

.box:hover {
	background-color: #00f;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.