<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.a{
			width: 600px;
			height: 400px;
			background: black;
			position: relative;
			margin: 0 auto;
			margin-top: 200px;
			overflow: hidden;
		}
		.a1{
			width: 600px;
			height: 100px;
			position: absolute;
			background: blanchedalmond;
			animation: box 5s linear /*infinite*/ forwards;
			display: none;
		}
		.a:hover .a1{
			display: block;
		}
		@-webkit-keyframes box{
			0%{
				top: -110px;
			}
			100%{
				top: 10px;
			}
		}
		</style>
		
	</head>
	<body>
		<div class="a">
			<div class="a1"></div>
		</div>
	</body>
</html>

 动画6

相关文章:

  • 2022-12-23
  • 2021-12-17
  • 2021-04-22
  • 2021-10-10
  • 2022-12-23
  • 2021-09-17
  • 2022-01-17
  • 2021-05-29
猜你喜欢
  • 2021-07-12
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2021-06-14
相关资源
相似解决方案