Use this code, it will be work..
<!DOCTYPE html>
<html >
<head>
<style type="text/css">
.imgBox {
width: 600px;
height: 300px;
background: url(https://www.newstriger.com/wp-content/uploads/2017/11/What-is-a-corporate-life-Funny-Quotes.jpg) no-repeat;
}
.imgBox:hover
{
width: 600px;
height: 300px;
background: url(https://www.newstriger.com/wp-content/uploads/2017/01/Long-and-healthy-hair-tips-in-hindi.jpg) no-repeat;
}
</style>
</head>
<body>
<div class="imgBox"> </div>
</body>
</html>