We would like to know how to hover to show button.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#profile {<!-- w ww .jav a 2 s .c om-->
min-height: 200px;
width: 150px;
background-color: DarkTurquoise;
}
#profile input[type="button"] {
display: none;
}
#profile:hover>input[type="button"] {
display: block;
}
</style>
</head>
<body>
<div id="profile">
<input type="button" value="Change image" />
</div>
</body>
</html>
The code above is rendered as follows: