博客列表 >优酷完整布局

优酷完整布局

不乖的博客
不乖的博客原创
2019年03月20日 11:30:23542浏览
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>优酷-这世界很酷</title>
		<link rel="icon" type="image/ico" href="static/image/1.ico"/>
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_933164_duzjob3iht8.css" />
		<style>
			
			*{
				margin: 0;
				padding: 0;
			}
			li{
				list-style: none;
				float: left;
			}
			a{
				text-decoration: none;
				color: white;
				font-size: 16px;
			}
			.box{
				width: 1740px;
				margin: auto;
			}
			.content{
				width: 100%;
				margin-top: 20px;
			}
			.content_title{
				line-height: 70px;
			}
			.content_show img{
				width: 240px;
				height: 360px;
			}
			.mr{
				margin-right: 10px;
			}
			small{
				font-size: 12px;
				color: #999;
			}
			.left{
				float: left;
			}
			.ml{
				margin-left: 20px;
			}
			.clear{
				clear: both;
			}
			.tv_show img{
				height: 334px;
				width: 490px;
			}
			.tab img{
				width: 240px;
				height: 135px;
			}
			.tab li{
				margin-left: 10px;
			}
			
			
			.header{
				width: 100%;
				height: 520px;
				background: rgb(232,232,232);
				position: relative;
			}
			.oImg{
				width: 1664px;
				height: 520px;
				margin: auto;
				position: relative;
			}
			.alpha{
				width:1664px;
				height: 520px;
				background: url(static/image/bg1.png) no-repeat;
				position: absolute;
				left: 0;
				top:0;
				z-index: 99;
			}
			.top{
				width: 100%;
				height: 64px;
				position: absolute;
				top:0;
				left: 0;
			}
			.top img.logo{
				position: absolute;
				top:20px;
				left: 128px;
				z-index: 999;
			}
			.top form {
				width:370px ;
				height: 38px;
				position: absolute;
				left: 685px;
				top:20px;
				z-index: 999;
			}
			.top form input{
				width:350px ;
				height: 38px;
				border-radius: 20px;
				border:none;
				outline: none;
				padding-left: 20px;
			}
			.top form button{
				width: 80px;
				height: 38px;
				border: none;
				background: #B30702;
				color: #FFEABF;
				position: absolute;
				top:0;
				right: 0;
				border-top-right-radius: 20px;
				border-bottom-right-radius: 20px;
				outline: none;
			}
			.top ul{
				width: 300px;
				height: 58px;
				position: absolute;
				right: 128px;
				top:20px;
				z-index: 999;
			}
			.top ul li{
				width: 50px;
				height: 50px;
				float: left;
				cursor: pointer;
				text-align: center;
				color: rgba(255,255,255,0.9);
				position: relative;
			}
			.top ul li.first{
				color: rgb(211,162,55);
			}
			.top ul li.first:hover{
				color: rgba(211,162,55,0.6);
			}
			.top ul li i{
				font-size: 24px;
			}
			.top ul li:hover{
				color: #2FB3FF;
			}
			.top ul li:hover .hid_box{
				display: block;
			}
			.hid_box{
				width: 240px;
				height: 100px;
				background: rgba(255,255,255,0.6);
				position: absolute;
				left:-150px;
				top:70px;
				display: none;
			}
			.arrow{
				width: 0;
				height: 0;
				border: 8px solid;
				border-color: transparent transparent rgba(255,255,255,0.6);; 
				position: absolute;
				left: 166px;
				top:-16px;
			}
			.hid_box p{
				line-height: 50px;
				color: #999;
			}
			.hid_box button{
				width: 180px;
				height: 38px;
				border: none;
				background: #148aff;
				color: white;
				outline: none;
				border-radius: 20px;
			}
			.new{
				width: 220px;
				background: rgba(0,0,0,0.6);
				position: absolute;
				top:100px;
				left: 1560px;
				z-index: 1000;
			}
			.new li{
				width: 210px;
				height: 44px;
				line-height: 44px;
				padding-left: 10px;
				color: rgba(255,255,255,0.8);
				border-bottom: 1px solid rgba(255,255,255,0.8);
			}
			.new li:hover{
				height: 70px;
				color: rgba(255,255,255,1);
			}
			.new li:hover span{
				display: block;
				font-size: 20px;
				line-height: 32px;
				
				font-weight: bold;
			}
		</style>
	</head>
	<body>
		<div class="header">
			<div class="oImg">
				<img src="static/image/bg.jpg">
				<div class="alpha"></div>
			</div>
			<div class="top">
				<img class="logo" src="static/image/logo.png" />
				<form action="" method="">
					<input type="text" />
					<button>全网搜</button>
				</form>
				<ul>
					<li class="first">
						<i class="iconfont icon-vip"></i><br/>
						<span>VIP</span>
					</li>
					<li>
						<i class="iconfont icon-subscribe-1-copy"></i><br/>
						<span>订阅</span>
					</li>
					<li>
						<i class="iconfont icon-jilu"></i><br/>
						<span>记录</span>
					</li>
					<li>
						<i class="iconfont icon-shangchuan-"></i><br/>
						<span>上传</span>
						<div class="hid_box">
							<div class="arrow"></div>
							<p>登陆使用更多功能</p>
							<button>登陆   /  注册</button>
						</div>
					</li>
					<li>
						<i class="iconfont icon-kehuduan"></i><br/>
						<span>客户端</span>
						<div class="hid_box">
							<div class="arrow"></div>
							<p>登陆使用更多功能</p>
							<button>登陆   /  注册</button>
						</div>
					</li>
					<li>
						<img width="40" height="40" src="static/image/person.png">
						<div class="hid_box">
							<div class="arrow"></div>
							<p>登陆使用更多功能</p>
							<button>登陆   /  注册</button>
						</div>
					</li>
				</ul>
			</div>
			<ul class="new">
				<li><span>都挺好:</span>小蒙总上线</li>
				<li><span>都挺好:</span>小蒙总上线</li>
				<li><span>都挺好:</span>小蒙总上线</li>
				<li><span>都挺好:</span>小蒙总上线</li>
				<li><span>都挺好:</span>小蒙总上线</li>
				<li><span>都挺好:</span>小蒙总上线</li>
				<li style="border:none"><span>都挺好:</span>小蒙总上线</li>
			</ul>
		</div>
		<div class="box">
			<div class="content">
				<div class="content_title">
					<h2>正在热播</h2>
				</div>
				<ul class="content_show">
					<li class="mr">
						<a href="#">
							<img src="static/image/a.jpg" /><br/>
							<span>瞰中国:宁夏</span><br/>
						</a>
						<small>低调的宁夏 美了四季</small>
					</li>
					<li  class="mr">
						<a href="#">
							<img src="static/image/b.jpg" /><br/>
							<span>瞰中国:宁夏</span><br/>
						</a>
						<small>低调的宁夏 美了四季</small>
					</li>
					<li  class="mr">
						<a href="#">
							<img src="static/image/c.jpg" /><br/>
							<span>瞰中国:宁夏</span><br/>
						</a>
						<small>低调的宁夏 美了四季</small>
					</li>
					<li  class="mr">
						<a href="#">
							<img src="static/image/d.jpg" /><br/>
							<span>瞰中国:宁夏</span><br/>
						</a>
						<small>低调的宁夏 美了四季</small>
					</li>
					<li  class="mr">
						<a href="#">
							<img src="static/image/e.jpg" /><br/>
							<span>瞰中国:宁夏</span><br/>
						</a>
						<small>低调的宁夏 美了四季</small>
					</li>
					<li  class="mr">
						<a href="#">
							<img src="static/image/f.jpg" /><br/>
							<span>瞰中国:宁夏</span><br/>
						</a>
						<small>低调的宁夏 美了四季</small>
					</li>
					<li>
						<a href="#">
							<img src="static/image/g.jpg" /><br/>
							<span>瞰中国:宁夏</span><br/>
						</a>
						<small>低调的宁夏 美了四季</small>
					</li>
				</ul>
				<!--<div class="clear"></div>-->
			</div>
			<div class="content" style="overflow: hidden;">
				<div class="content_title" style="overflow: hidden;">
					<h2 class="left">剧集</h2>
					<h2 class="left ml">></h2>
					<ul class="left">
						<li class="ml">最新</li>
						<li class="ml">大陆剧</li>
						<li class="ml">日韩剧</li>
						<li class="ml">港台剧</li>
						<li class="ml">英美剧</li>
					</ul>
				</div>
				<!--<div class="clear"></div>-->
				<div class="tv_show">
					<img src="static/image/tv.jpg" class="left">
					<ul class="tab left">
						<li>
							<a href="#">
								<img src="static/image/tv1.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv2.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv3.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv4.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv5.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
					</ul>
					<ul class="tab left">
						<li>
							<a href="#">
								<img src="static/image/tv1.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv2.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv3.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv4.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
						<li>
							<a href="#">
								<img src="static/image/tv5.jpg"><br/>
								<span>瞰中国:宁夏</span><br/>
							</a>
							<small>低调的宁夏 美了四季</small>
						</li>
					</ul>
					<!--<div class="clear"></div>-->
				</div>
			</div>
		</div>
	</body>
</html>


声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议