<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
*
{
margin:0px;
padding:0px;
}
#divHead
{
display: block;
height: 220px;
overflow: hidden;
width: 350px;
}
#divHead:hover img
{
transform: scale(1.3);
transition: all 1s ease 0s;
-webkit-transform: scale(1.3);
-webkit-transform: all 1s ease 0s;
}
</style>
</head>
<body>
<div id="divHead">
<img class="Tao"src="image/Thomson.jpeg" />
</div>
</body>
</html>
HTML+css图片放大
最新推荐文章于 2024-04-20 14:10:04 发布