gdk

导航

动画

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			body{
				background-color: #333;
				display: flex;
				justify-content: center;
				align-items: center;
				height: 100vh;
			}
			.box{
				background-color: white;
				width: 300px;
				height: 300px;
				/* transform: rotate(25deg); */
				/* transform: skew:(25deg); *
				/* transform: scale(2); */
				transition: all 2s;
			}
			.box:hover{
				transform: scale(2);
			}
		</style>
	</head>
	<body>
		<div class="box">
			
		</div>
	</body>
</html>

  transrom:属性

posted on 2022-03-25 20:26  郭东康  阅读(12)  评论(0编辑  收藏  举报