富豪刑警 富豪刑警修斯库界面效果实现

前端时间 富豪刑警看完了 就像做个 其中 的ai 修斯库 但是实力不够啊
只能先整个 类似的页面效果 玩玩了
在这里插入图片描述

<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title></title>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		.wrap{
			width: 600px;
			height: 300px;
			border: 1px solid red;
			margin-top: 49px;
			margin-left: 40px;
			display: flex;
			justify-content: center;
			align-items: center;
			background-color: #ECEAE4;
		}
		
		.yuan{
			background-color: #43E7D3;
			width: 200px;
			height:200px;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 50%;
			position: relative;
		}
		.yuan .left{
			height:50%;
			width: 5%;
			background-color: #FFFFFF;
			left: 20%;
			top: 25%;
		}
		
		@keyframes  mylinleft{
			25%{
				height: 20%;
			}
			50%{
				height:calc(50% - 40px);
				transform: translateY(10px);
			}
			75%{
				height:5%;
			}
			100%{
				height:40%;
				transform: translateY(-10px);
			}
		}
		@keyframes  mylinright{
			25%{
				height: 30%;
			}
			50%{
				height:calc(40% - 40px);
				transform: translateY(-10px);
			}
			75%{
				height:10%;
			}
			100%{
				height:30%;
			}
		}
		
		@keyframes  mylin1{
			25%{
				height: 75%;
			}
			50%{
				height:50%;
			}
			75%{
				height:25%;
			}
			100%{
				height: 80%;
			}
			
		}
		@keyframes  mylin3{
			25%{
				height: 80%;
			}
			50%{
				height:50%;
			}
			75%{
				height:85%;
			}
			100%{
				height: 30%;
			}
			
		}
		
		.yuan .left{
			animation: mylinleft 1s infinite linear;
		}
		.yuan .right{
			animation: mylinright 1s infinite linear;
		}
		
		
		.yuan .right{
			height:50%;
			width: 5%;
			background-color: #FFFFFF;
			
		
		}
		
		
		.yuan .center{
			width: 40%;
			height: 50%;
			
			margin: 0 5%;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
		}
		.yuan .center .item{
			height: 45%;
			position:relative;
		}
		.yuan .center .item>div{
			position: absolute;
		}
		.lin1{
			width:calc( 13% - 0.4px);
			height: 100%;
			background-color: #FFFFFF;
			left: 0;
			bottom: 0px;
			animation: mylin1 1s infinite linear;
			
		}
		.lin2{
			width: 100%;
			height:calc(20% + 1px);
			background-color: #FFFFFF;
			bottom: 0;
		}
		.lin3{
			width:calc( 13% - 0.4px);
			height: 100%;
			background-color: #FFFFFF;
			right: 0;
			bottom: 0px;
			animation: mylin3 1s infinite linear;
		}
		
		
		.item2{
			transform: rotateZ(180deg);
		}
	</style>
</head>
<body>
	<div class="wrap">
		<div class="yuan">
			 <div class="left"></div>
			 <div class="center">
				 <div class="item item1">
					 <div class="lin1"></div>
					 <div class="lin2"></div>
					 <div class="lin3"></div>
				 </div>
				 <div class="item item2">
				 					 <div class="lin1"></div>
				 					 <div class="lin2"></div>
				 					 <div class="lin3"></div>
				 </div>
			 </div>
			 <div class="right"></div>
		</div>
	</div>
</body>
</html>在这里插入代码片
  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值