0
Since a code wasn’t posted, take a look at this example, I think that’s what you’re looking for.
rather than being a div
, will be a picture.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
.zoom {
padding: 50px;
background-color: green;
transition: transform .2s;
width: 200px;
height: 200px;
margin: 0 auto;
}
.zoom:hover {
-ms-transform: scale(1.5); /* IE 9 */
-webkit-transform: scale(1.5); /* Safari 3-8 */
transform: scale(1.5);
}
.zoom:hover span{
text-decoration:underline;
}
</style>
</head>
<body>
<h1>Zoom on Hover</h1>
<p>Hover over the div element.</p>
<div class="zoom"><span>Texto</span></div>
</body>
</html>
Put your code to us, then we can help you not only by giving a north but possibly solving your problem.
– Renan