.image-hover { width: 300px; /* Specify the width */ height: 200px; /* Specify the height */ background-image: url('clippy.webp'); /* Initial background image */ background-size: cover; /* Cover the entire area of the element */ } .image-hover:hover { background-image: url('download(1).png'); /* Change on hover */ }