实训记录

实训记录

第一次实训

第一次实训是做一个吃鸡官宣页面的仿制。

代码如下:  <!DOCTYPE html> <html> 	<head> 		<meta charset="utf-8"> 		<meta name="viewport" content="width=device-width"/> 		<title></title> 		<link rel="stylesheet" type="text/css" href="/cndeom/css/mui.min.css"/> 		<link rel="stylesheet" type="text/css" href="css/base.css"/> 		<style type="text/css"> 			.warp_panel{
				height:100%;
				width: 100%;
				display: flex;
				justify-content: center;
				align-items: center;
			    background-image: url(11.jpg); 			} 			.longin_panel{
				height: 400px;
				width: 500px;
				background-color: rgba(43,47,51,0.61);
				display: flex;
				flex-flow: column;
				justify-content: center;
				align-items: center; 			} 			.longin_panel>div{
				height: 38px;
				width: 380px;
				background-color: #ffffff;
				margin-bottom: 10px; 			} 			.longin_panel>div:nth-of-type(1){
				border-radius: 19px; 			} 			.longin_panel>div:nth-of-type(2){
				border-radius: 19px; 			} 			.longin_panel>div:nth-of-type(3){
				border-radius: 19px;
				width: 160px; 			} 			.longin_panel>div>input,button{
				height: 100%;
				width: 100%;
				border: none;
				border-radius: 19px;
				outline: none; 			} 			.warp_panel>video{
				display:none; 			} 			@media screen and (max-width:500px) {
				.warp_panel>video{
					display: block;
					position: absolute;
					height: 100%;
					width: 100%;
					object-fit:fill;
					z-index: -1;
				}
				.longin_panel{
					background-color: initial;
				}
				.longin_panel{
					background-color:(rgba(52,23,33,0.68)) ;
				}
				.warp_panel>video{
					object-fit: cover;
				}
				
				
				.warp_panel{
					background-image: initial;
				}	 			}
			 </style> <script type="text/javascript">	 		</script> 	</head> 	<body> 		<div class="warp_panel"> 			<div class="longin_panel">
				<div class="">
					<input type="text" name="" id="" value="" placeholder="请输入用户名" onfocus="voice.playvoice('请输入用户名')"/>
				</div>
				<div class="">
					<input type="password" name="" id="" value="" placeholder="请输入密码"/>
				</div>
				<div class="">
					<button type="button">登录<tton>
				</div> 			</div> 			<video src="media/video_0822.mp4" autoplay="autoplay" loop="loop"><ideo> 		</div> 	</body> <html>

效果图:
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值