项目七视频8

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>视频8</title>
		<link href="css/style15.css" type="text/css" rel="stylesheet"/>
	</head>
	<body>
	<!--head begin-->
	<div id="head">
		<div class="con"></div>
	</div>
	<!--head end-->
	<!--nav begin-->
	<div id="nav">
		<div class="nav_in"></div>
	</div>
	<!--nav end-->
	<!--banner begin-->
	<div class="banner">
		<div class="banner_pic"></div>
	</div>
	<!--banner end-->
	<!--content begin-->
	<div class="hot"></div>
	<!-- <div class="share"></div> -->
	<!--content end-->
	<!--footer begin-->
	<div id="footer">
		<div class="foot"></div>
	</div>
	<!--footer end-->
	<div id="head">
		<div class="con">
			<ul class="left">
				<li>首页</li>
				<li>电影音乐</li>
				<li>独家栏目</li>
				<li>VIP影院</li>
				<li>电影百科</li>
			</ul>
			<ul class="right">
				<li>APP下载</li>
				<li>播放记录</li>
				<li>登录|注册</li>
			</ul>
			<img src="img/images/pic01.jpg"/>
		</div>
	</div>
	<div id="nav">
		<div class="nav_in">
			<ul>
				<li><a href="#"></a></li>
				<li><a href="#">个人中心</a></li>
				<li><a href="#">视频播放</a></li>
			</ul>
			<ol>
				<li>&#xe65e;</li>
				<li>&#xe608;</li>
				<li>&#xf012a;</li>
				<li>&#xe68e;</li>
			</ol>
		</div>
	</div>
	<div class="banner">
		<img class="hot" src="img/images/pic01.jpg"/>
		<div class="banner_pic">
			<div class="current"><img class="ban" src="img/images/banner01.jpg"></div>
		</div>
		<p>迅速发现最新影视快|尽享国内外优秀视频资源|分享观影心德结识新朋友</p>
		<p class="ty2">观影最新视频</p>
		<ol id="button">
			<li class="current"></li>
			<li class="but"></li>
			<li class="but"></li>
		</ol>
		<a href="#con" class="sanjiao">
			<img src="img/images/jiantou.png" alt="">
		</a>
	</div>
	<div class="hot">
		<h2>最热视频</h2>
		<video src="img/video/pian.mp4" controls></video>
		<a href="#"><img src="img/images/pic02.jpg"></a>
		<a href="#"><img src="img/images/pic03.jpg"></a>
		<a href="#"><img src="img/images/pic04.jpg"></a>
		<a href="#"><img src="img/images/pic05.jpg"></a>
		<a href="#"><img src="img/images/pic06.jpg"></a>
	</div>
	<div class="share">
		<h2>观影达人</h2>
		<a href="#">
			<img src="img/images/pic07.jpg">
			<div class="cur">
				<img src="img/images/pic01.png">
				<h3>nosay</h3>
				<p>视频:34 订阅粉丝:30112</p>
				<span>订阅</span>
			</div>
		</a>
		<a href="#">
			<img src="img/images/pic07.jpg">
			<div class="cur">
				<img src="img/images/pic02.png">
				<h3>nosay</h3>
				<p>视频:34 订阅粉丝:30112</p>
				<span>订阅</span>
			</div>
		</a>
		<a href="#">
			<img src="img/images/pic07.jpg">
			<img src="img/images/pic03.png">
			<h3>nosay</h3>
			<p>视频:34 订阅粉丝:30112</p>
			<span>订阅</span>
		</a>
		<a href="#">
			<img src="img/images/pic07.jpg">
			<img src="img/images/pic04.png">
			<h3>nosay</h3>
			<p>视频:34 订阅粉丝:30112</p>
			<span>订阅</span>
		</a>
	</div>
	<div id="footer">
		<div class="foot">
			<a href="#head"><span>Top</span></a>
			<p>Copyright©2020 视频8 shipin8.com 版权所有</p>
		</div>
	</div>
	</body>
</html>

css

/*重置浏览器的默认样式*/
body,ul,li,ol,dl,dd,dt,p,h1,h2,h3,h4,h5,h6,form,img,video{margin: 0;padding: 0;border: 0;list-style: none;outline: none;}
/*全局控制样式*/
body{font-family: "微软雅黑",Arial, Helvetica, sans-serif;font-size: 14px;background: #282828;}
a{color: #333;text-decoration: none;}
@font-face{
	font-family: 'freshskin';
	src: url(../img/fonts/iconfont.ttf);
}
#head{
	width: 100%;
	height: 46px;
	background: #000;
}
#head .con{
	width: 1200px;
	margin: 0 auto;
}
#head .con .left{float: left;}
#head .con .right{float: right;}
#head .con .left li{
	float: left;
	height: 46px;
	line-height: 46px;
	margin-right: 50px;
	color: #fff;
	cursor: pointer;
}
#head .con .right li{
	float: right;
	height: 46px;
	line-height: 46px;
	margin-left: 50px;
	color: #fff;
	cursor: pointer;
}
#head .con .right li a{color: #fff;}
#nav{
	width: 100%;
	height: 55px;
	position: absolute;
	background: rgba(255,255,255,0.8);/*设置背景颜色半透明*/
	z-index: 10;
}
#nav .nav_in{
	width: 1200px;
	margin: 0 auto;
}
#nav ul{float: left;}
#nav ul li{
	float: left;
	margin-right: 50px;
	font-size: 18px;
	height: 55px;
	line-height: 55px;
}
#nav ul li:first-child a{
	display: inline-block;
	height: 55px;
	width: 118px;
	background: url(../img/images/LOGO.png) no-repeat center left;
}
#nav .nav_in ol{
	float: right;
	width: 300px;
	height: 55px;
	font-family: "freshskin";
}
#nav .nav_in ol li{
	float: left;
	width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	color: #333;
	box-shadow: 0 0 0 1px #333 inset;
	transition: box-shadow 0.5s ease 0s;
	border-radius: 16px;
	margin: 10px 0 0 30px;
	cursor: pointer;
}
#nav .nav_in ol li:hover{
	box-shadow: 0 0 0 16px #fff inset;
	color: #333;
}
.banner{
	width: 100%;
	height: 720px;
	position: relative;
	color: #fff;
	overflow: hidden;
	text-align: center;
	background: url(../img/images/pic01.jpg);
}
.banner .ban{
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%,0);/*设置图片水平50%的偏移位置 */
}
.banner .current{display: block;}
#button{
	position: absolute;
	left: 50%;
	top: 90%;
	margin-left: -62px;
	z-index: 9999;
}
#button .but{
	float: left;
	width: 28px;
	height: 1px;
	border: 1px solid #d6d6d6;
	margin-right: 20px;
}
#button li{cursor: pointer;}
#button .current{
	background: #F90;
	float: left;
	width: 28px;
	height: 1px;
	border: 1px solid #F90;
	margin-right: 20px;
}
body:hover .banner h3{
	padding-top: 200px;
	opacity: 1;
}
.banner p{
	width: 715px;
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 20px;
	opacity: 0;
	transform: translate(-50%,-50%);
	transition: all 0.8s ease-in 0s;
}
body:hover .banner p{opacity: 1;}
.banner .ty2{
	position: absolute;
	top: 1000px;
	left: 50%;
	font-size: 20px;
	opacity: 0;
	transform: translate(-50%,0);
	transition: all 0.8s ease-in 0s;
}
body:hover .banner .ty2{
	position: absolute;
	top: 400px;
	opacity: 1;
}
.sanjiao{
	width: 40px;
	height: 30px;
	padding-top: 10px;
	border-radius: 20px;
	box-shadow: 0 0 0 1px #fff  inset;
	text-align: center;
	position: absolute;
	top: 1000px;
	left: 50%;
	z-index: 99999;
	opacity: 0;
	transform: translate(-50%,0);
	transition: all 0.8s ease-in 0s;
}
body:hover .sanjiao{
	position: absolute;
	top: 500px;
	opacity: 1;
}
.sanjiao:hover{box-shadow: 0 0 0 20px #2fade7 inset;}
.hot{
	width: 1200px;
	height: 825px;
	margin: 0px auto;
	border-bottom: 3px solid #ccc;
}
.hot h2, .share h2{
	text-align: center;
	color: #eee;
	font-size: 36px;
	font-weight: normal;
	line-height: 100px;
}
.hot video{
	float: left;
	width: 729px;
	height: 448px;
	margin: 0 0 12px 17px;
	overflow: hidden;
	background: #000;
	}
.hot a{
	float: left;
	width: 388px;
	height: 218px;
	overflow: hidden;
	margin: 0 0 12px 17px;
}
.hot video, .hot a:nth-of-type(3),.share a:nth-of-type(1),.share a:nth-of-type(3){margin-left: 0;}
.hot a img,.share a img{display: block;}
.hot a img{transition: all 0.5s ease-in 0s;}
.hot a:hover img{transform: scale(1.1,1.1);}
.hot video{
	width: 795px;
	height: 448px;
	overflow: hidden;
}
.share{
	width: 1200px;
	height: 850px;
	margin: 0 auto;
	border-bottom: 3px solid #ccc;
}
.share a{
	float: left;
	position: relative;
	width: 592px;
	height: 343px;
	margin: 0 0 16px 16px;
	overflow: hidden;
}
.share a .cur{
	width: 296px;
	height: 345px;
	background: rgba(255,255,255,0);
	position: absolute;
	left: -296px;
	top: 0;
	text-align: center;
	transition: all 0.5s ease-in 0s;
}
.share a:hover .cur{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(255,255,255,0.5);
}
.share a:nth-of-type(2):hover .cur,.share a:nth-of-type(3) .cur{
	position: absolute;
	left: 592px;
	top: 0;
}
.share a:nth-of-type(2):hover .cur,.share a:nth-of-type(3):hover .cur{
	position: absolute;
	left: 296px;
	top: 0;
}
.share a .cur img{padding: 70px 0 15px 125px;}
.share a .cur p{padding: 10px 0 15px 0;}
.share a .cur span{
	display: block;
	width: 75px;
	height: 30px;
	background: #2fade7;
	border-radius: 5px;
	margin: 30px 0 0 110px;
	color: #fff;
	line-height: 30px;
}
#footer{
	width: 100%;
	height: 127px;
	margin-top: 100px;
	background: #000;
	color: #fff;
	text-align: center;
}
#footer .foot{
	width: 1200px;
	height: 127px;
	margin: 0 auto;
	position: relative;
}
#footer span{
	width: 58px;
	height: 32px;
	line-height: 43px;
	text-align: center;
	color: #fff;
	position: absolute;
	top: -31px;
	left: 600px;
	background: url(../img/images/sanjiao.png);
}
#footer p{
	line-height: 127px;
}

部分展示图

  • 8
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值