<html>
<head>
<style>
#hover {
background-color:blue;
}
</style>
</head>
<body>
<div style="float:left; width:200px; height:200px; background-color: red">
<div style="width:100px; height:100px; " id="hover"></div>
</div>
</body>
</html>