Answers for "zoom div with css"

CSS
3

hover reinzoomen css

div.image {
	width: 300px;
	height: 200px;
	overflow: hidden;
}
div.image img {
	width: 100%;
	height: auto;
	/* SCALE */
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	/* VERZÖGERUNG */
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}
div.image img:hover {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}
Posted by: Guest on September-22-2020
-1

html zoom text on hover

<style>
#test-text:hover {
font-size: 40px;
}


</style>

<body>
<p id=test-text>TEST</p>
</body>
Posted by: Guest on January-08-2021

Browse Popular Code Answers by Language