HTML与CSS实现淘宝静态页面(参考版)

6 篇文章 1 订阅
订阅专栏

本文章内容是利用HTML与CSS实现淘宝静态页面,没有js交互。点我下载源代码。由于CSDN下载源码需要积分,所以建议拉到文章底部,免费获取源码

效果

html代码

<html>
<head>
	<title>淘宝网-淘!我喜欢</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="index.css">
	
</head>
<body>
	<div class="wrapper">
		<!-- 导航条+ad -->
		<div class="top-nav-wrap">
			<div class="top-nav">
				<ul class="top-nav-l">
					<li class="top-nav-menu china">
						<span class="c-span">中国大陆</span>
						<span class="bg-pic xsj-pic"></span>
					</li>
					<li class="top-nav-menu login-sign">
						<a href="#" class="login">亲,请登录</a>
						<a href="#" class="sign">免费注册</a>
					</li>
					<li class="top-nav-menu">
						<a href="#">手机逛淘宝</a>
					</li>
				</ul>
				<ul class="top-nav-r">
					<li class="top-nav-menu my-taobao">
						<a href="#">我的淘宝</a>
						<span class="bg-pic xsj-pic"></span>
					</li>
					<li class="top-nav-menu shop-car">
						<a href="#">
							<span class="bg-pic shopCar-pic"></span>
							<span>购物车</span>
						</a>
						<span class="bg-pic xsj-pic"></span>
					</li>
					<li class="top-nav-menu like">
						<a href="#">
							<span class="bg-pic like-pic"></span>
							<span>收藏夹</span>
						</a>
						<span class="bg-pic xsj-pic"></span>
					</li>
					<li class="top-nav-menu goods">
						<a href="#">商品分类</a>
					</li>
					<li class="top-nav-menu cut-off">
						<span>|</span>
					</li>
					<li class="top-nav-menu seller">
						<a href="#">卖家中心</a>
						<span class="bg-pic xsj-pic"></span>
					</li>
					<li class="top-nav-menu customer">
						<a href="#">联系客服</a>
						<span class="bg-pic xsj-pic"></span>
					</li>
					<li class="top-nav-menu web-nav">
						<a href="#">
							<span class="bg-pic web-nav-pic"></span>
							<span>网站导航</span>
						</a>
						<span class="bg-pic xsj-pic"></span>
					</li>
				</ul>
			</div>
			<div class="ad-wrap">
				<div class="ad">
					<img src="">
				</div>	
			</div>
		</div>
		<!-- 搜索区域 -->
		<div class="search-wrap">
			<div class="search-con">
				<div class="logo-box"></div>
				<div class="search-box">
					<div class="search-t">
						<div class="search-tab">
							<ul>
								<li class="select">宝贝</li>
								<li>天猫</li>
								<li>店铺</li>
							</ul>
						</div>
						<div class="search-panel">
							<a href="#" class="sousuo"></a>
							<form action="">
								<div class="btn">
									<button class="submit">搜索</button>
								</div>
								<div class="search-inp-box">
									<div class="search-inp">
										<!-- placeholder为灰色字体 -->
										<input type="text" name="" placeholder="荣耀10降价">
									</div>
								</div>
							</form>
							<a href="#" class="camera"></a>
						</div>
					</div>
					<div class="search-bl">
						<a href="#" class="active">新款连衣裙</a>
						<a href="#">四件套</a>
						<a href="#">潮流T恤</a>
						<a href="#">时尚女鞋</a>
						<a href="#" class="active">短裤</a>
						<a href="#">半身裙</a>
						<a href="#">男士外套</a>
						<a href="#">墙纸</a>
					</div>
				</div>
				<div class="code-box">
					<a href="#" class="phone">手机淘宝</a>
					<a href="#" class="code"></a>
					<a href="#" class="close">X</a>
				</div>
			</div>
		</div>
		<!-- 导航条 -->
		<div class="screen-nav">
			<div class="screen-nav-con">
				<h2>主题市场</h2>
				<ul>
					<li><a href="#">天猫</a></li>
					<li><a href="#">聚划算</a></li>
					<li><a href="#">天猫超市</a></li>
				</ul>	
				<ul>
					<li><a href="#">|</a></li>
					<li><a href="#">淘抢购</a></li>
					<li><a href="#">电器城</a></li>
					<li><a href="#">司法拍卖</a></li>
					<li><a href="#">淘宝心选</a></li>
					<li><a href="#">兴农扶贫</a></li>
				</ul>
				<ul>
					<li><a href="#">|</a></li>
					<li><a href="#">飞猪旅行</a></li>
					<li><a href="#">智能生活</a></li>
					<li><a href="#">苏宁易购</a></li>
				</ul>
			</div>
		</div>
		<!-- 图片主体展示部分 -->
		<div class="screen-box">
			<div class="main">
				<div class="main-inner">
					<div class="inner-left">
						<ul>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
							<li>
								<a href="#">乐器</a> /
								<a href="#">乐器</a> /
								<a href="#">乐器</a>
								<span></span>
							</li>
						</ul>
					</div>
					<div class="inner-content">
						<div class="pic-box">
							<img src="./img/pic2.png" alt="">
						</div>
						<div class="inner-mall">
							<div class="head">
								<img src="./img/tm.png" alt="">
								<span class="tm">理想生活上天猫
								</span>
								<a href="#">
									<img src="./img/pic3.png" alt="">
								</a>
							</div>
						</div>
					</div>
					<div class="inner-right">
						<a href="#">
							<img src="./img/pic1.png" alt="">
						</a>
						<div class="hot">
							<span>今日热卖</span>
							<a href="#">
								<img src="./img/pic4.png" alt="">
							</a>
						</div>
					</div>
				</div>
				<div class="main-bottom">
					<div class="content">
						<div class="logo-box"></div>
						<a href="#">
							<img src="./img/pic5.png">
							<h4>万圣节去哪玩?良阅二次元游园会等你来!</h4>
							<p>哈喽,大家好,我是你们的微漫酱!万圣节快要到了,在此推荐给大家一个好玩的二次元线下活动,一起来了解一下把!</p>
						</a>
					</div>
				</div>
			</div>
			<div class="col-right">
				<div class="member">
					<div class="member-head">
						<div class="head">
							<a href="#"></a>
						</div>
						<span class="info">hi!您好</span>
						<p>
							<a href="#" class="icon">
								<span></span>
								领淘金币抵钱
							</a>
							<a href="#" class="club">
								<span></span>
								会员俱乐部
							</a>
						</p>
					</div>
					<div class="member-foot">
						<a href="#" class="login">登录</a>
						<a href="#">注册</a>
						<a href="#">开店</a>
					</div>
				</div>
				<div class="message">
					<a href="#">网上有害信息举报
						<span></span>
					</a>
				</div>
				<div class="notice">
					<div class="title">
						<ul>
							<li><a href="#">公告</a></li>
							<li><a href="#">公告</a></li>
							<li><a href="#" class="active">论坛</a></li>
							<li><a href="#">公告</a></li>
							<li><a href="#">公告</a></li>
						</ul>
					</div>
					<div class="content">
						<ul>
							<li><a href="#" class="active">新增淘宝网抽检标准</a></li>
							<li><a href="#">新增淘宝网抽检标准</a></li>
							<li><a href="#">新增淘宝网抽检标准</a></li>
							<li><a href="#">新增淘宝网抽检标准</a></li>
						</ul>
					</div>
				</div>
				<div class="module">
					<ul>
						<li>
							<a href="#">
								<span class="icon1"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon2"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon3"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon4"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon5"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon6"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon7"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon8"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon9"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon10"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon11"></span>
								<p>爱你</p>
							</a>
						</li>
						<li>
							<a href="#">
								<span class="icon12"></span>
								<p>爱你</p>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</body>
</html>

css代码

* {
	padding: 0;
	margin: 0;
	list-style: none;
	text-decoration: none;
}

html, body {
	width: 100%;
	height: 100%;
	background-color: #f4f4f4;
	color: #3c3c3c;
	overflow-x: hidden; /*横向滚动条隐藏*/

}

.wrapper {
	width: 100%;
	height: 100%;
}

/*上导航条*/
.wrapper .top-nav-wrap {
	width: 100%;
	height: 105px;
}

.wrapper .top-nav-wrap .top-nav {
	width: 1190px;
	height: 35px;
	margin: 0 auto;

}

.wrapper .top-nav-wrap .top-nav .top-nav-l {
	float: left;
}

.wrapper .top-nav-wrap .top-nav .top-nav-r {
	float: right;
}

.wrapper .top-nav-wrap .top-nav ul li {
	float: left;
	margin-right: 7px;
}

.wrapper .top-nav-wrap .top-nav a {
	color: #6c6c6c;
	font-size: 12px;
	line-height: 35px;
	padding: 0 6px;
} 

.wrapper .top-nav-wrap .top-nav a:hover {
	color: #f40;	
}

.wrapper .top-nav-wrap .top-nav .china {
	color: #3c3c3c;
	line-height: 35px;
	font-size: 13px;

}

.wrapper .top-nav-wrap .top-nav .bg-pic {
	display: inline-block;
	width: 6px;
	height: 3px; 
	background-size: 100% 100%;
	vertical-align: middle;  /*垂直排列中间对齐*/
}

.wrapper .top-nav-wrap .top-nav .c-span {
	padding: 0 6px;
}

.wrapper .top-nav-wrap .top-nav .bg-pic.xsj-pic {
	background-image: url('./img/xsj.png');
}

.wrapper .top-nav-wrap .top-nav .bg-pic.shopCar-pic {
	background-image: url(./img/gwc.png);
	width: 12px;
	height: 12px;
}

.wrapper .top-nav-wrap .top-nav .bg-pic.like-pic {
	background-image: url(./img/star.png);
	width: 12px;
	height: 12px;
}

.wrapper .top-nav-wrap .top-nav .bg-pic.web-nav-pic {
	background-image: url(./img/dh.png);
	width: 8px;
	height: 8px;
}

.wrapper .top-nav-wrap .top-nav .cut-off span{
	line-height: 35px;
	color: #ddd;
}

.wrapper .top-nav-wrap .ad-wrap {
	width: 100%;
	height: 70px;
	background-color: #4c174d
}

.wrapper .top-nav-wrap .ad-wrap .ad {
	width: 1190px;
	margin: 0 auto;
}
.wrapper .top-nav-wrap .ad-wrap img {
	width: 100%;
	height: 70px;
}

/*搜素区域*/
.wrapper .search-wrap {
	width: 100%;
	height: 97px;
	padding-top: 24px;
	background-color: #fff;
}

.wrapper .search-wrap .search-con {
	position: relative;
	width: 1190px;
	height: 88px;
	margin: 0 auto;
}

.wrapper .search-wrap .search-con .logo-box {
	position: relative; /*相对定位*/
	top: -10px; /*基于自身向上移动10px*/
	display: inline-block; /*基于下基准线对齐*/
	width: 190px;
	height: 105px;
	background-image: url('./img/logo.png');
	background-size: 100% 100%;

}

.wrapper .search-wrap .search-con .search-box {
	display: inline-block; 
	width: 627px;
	height: 87px;
	vertical-align: top;
	margin-left: 50px;
}

.wrapper .search-wrap .search-con .search-box .search-t {
	width: 627px; 
	height: 62px;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-tab {
	height: 22px;
	margin-left: 17px;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-tab ul li {
	float: left;	
	width: 36px;
	height: 22px;
	color: #f40;
	font-size: 12px;
	line-height: 22px;
	text-align: center;
	margin-right: 4px;
	border-top-right-radius: 6px; /*圆角*/
	border-top-left-radius:6px;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-tab ul li.select {
	color: #fff;
	font-weight: 700; /*字体加粗*/
	background: linear-gradient(to right, #ff9000 0, #ff5000 100%);
}

.wrapper .search-wrap .search-con .search-box .search-t .search-tab ul li:hover {
	background-color: #ffeee5;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-panel {
	width: 627px;
	height: 40px;
	position: relative;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-panel form {

}

.wrapper .search-wrap .search-con .search-box .search-t .search-panel form .btn {
	width: 74px;
	height: 40px;  
	position: absolute;
	top: 0;
	right: 0;
	border-top-right-radius: 20px; 
	border-bottom-right-radius: 20px;
	overflow: hidden;
	border: none;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-panel form .btn button {
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, #ff9000 0, #ff5000 100%);/*css3线性渐变*/
	border: none;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	cursor: pointer; /*鼠标放上有小手显示*/
}	

.wrapper .search-wrap .search-con .search-box .search-t .search-panel .search-inp-box {
	width: 551px;
	height: 36px;
	border: 2px solid #ff5000;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	overflow: hidden;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-panel .search-inp {
	width: 551px;
	height: 36px;
	overflow: hidden;
}

.wrapper .search-wrap .search-con .search-box .search-t .search-panel .search-inp input {
	width: 551px;
	height: 36px;
	padding: 6px 16px;
	border: none;
	outline: 0;
	text-indent: 10px;
}

.wrapper .search-wrap .search-con .search-box .sousuo,
.wrapper .search-wrap .search-con .search-box .camera {
	display: inline-block;
	position: absolute;
} 

.wrapper .search-wrap .search-con .search-box .sousuo {
	width: 12px;
	height: 14px;
	top: 11px;
	left: 14px; 
	background-image: url('./img/fdj.png');
	background-size: 100% 100%;
} 

.wrapper .search-wrap .search-con .search-box .camera {
	width: 20px;
	height: 22px;
	top: 11px;
	right: 90px;
	background-image: url('./img/camera.png');
	background-size: 100% 100%;
}

.wrapper .search-wrap .search-con .search-box .search-bl {
	width: 627px;
	height: 20px;
}

.wrapper .search-wrap .search-con .search-box .search-bl a{
	font-size: 12px;
	margin-right:8px;
	color: #666;
}

.wrapper .search-wrap .search-con .search-box .search-bl a.active,
.wrapper .search-wrap .search-con .search-box .search-bl a:hover {
	color: #ff5000;
}

.wrapper .search-wrap .search-con .code-box {
	display: inline-block;
	width: 76px; 
	height: 90px;
	border: 1px solid #eee;
	vertical-align: top;
	margin-left: 120px;
	position: relative;
}

.wrapper .search-wrap .search-con .code-box .phone {
	color: #ff5000;
	font-size: 14px;
	line-height: 20px;
	margin-left: 6px;
}

.wrapper .search-wrap .search-con .code-box .code {
	display: inline-block;
	width: 62px;
	height: 62px;
	background: url('./img/ewm.png') no-repeat;
	background-size: 100% 100%;
	margin-left: 6px;
}

.wrapper .search-wrap .search-con .code-box .close {
	width: 16px;
	height: 16px;
	text-align: center;
	line-height: 16px; /*垂直居中*/
	position: absolute;
	display: inline-block;
	top: 0;
	left: -18px;
	border: 1px solid #eee;
	color: : #ddd;
	font-size: 14px;
}

/*搜索下的导航条*/
.wrapper .screen-nav {
	width: 1190px;
	height: 30px;
	background: linear-gradient(to right, #ff9000 0, #ff5000 100%);
	margin: 0 auto; /*实现左右居中*/
}

.wrapper .screen-nav .screen-nav-con {
	width: 100%;
	height: 100%;
}

.wrapper .screen-nav .screen-nav-con h2 {
	float: left;
	color: #fff;
	font-size: 16px;
	width: 190px;
	height: 100%;
	background-color: #ff5000;
	text-align: center;
	line-height: 30px;
}

.wrapper .screen-nav .screen-nav-con ul {
	
	float: left;
}

.wrapper .screen-nav .screen-nav-con ul li {
	float: left;
	margin:0 3px;
	padding: 0 4px;
	position: relative;
}

.wrapper .screen-nav .screen-nav-con ul li a {
	line-height: 30px;
	color: #fff;
	font-weight: 700;
}

.wrapper .screen-nav .screen-nav-con ul li:hover::before {
 content: "";
 display: block;
 width: 30px;
 height: 30px;
 background: url('./img/up.png') no-repeat;
 background-size: center;
 position: absolute;
 top: -10px;
 left: 50%;
 margin-left: -15px;
}

/*主要图片展示内容*/
 .wrapper .screen-box {
	width: 1190px;
	height: 632px;
	margin: 0 auto; /*实现左右居中*/
}

.wrapper .screen-box .main {
	float: left;
	width: 890px;
	height: 632px;
}

.wrapper .screen-box .main .main-inner {
	width: 890px;
	height: 522px;
}

.wrapper .screen-box .main .main-inner .inner-left {
	float: left;
	width: 190px;
	height: 522px;
	border: 1px solid #f40;
	background-color: #fff;
	border-top: none;
}

.wrapper .screen-box .main .main-inner .inner-left ul li {
	width: 145px;
	height: 32px;
	padding-left: 25px;
	padding-right: 19px;
	position: relative;

}

.wrapper .screen-box .main .main-inner .inner-left ul li a {
	font-size: 14px;
	font-weight: 400;
	color: #666;
	line-height: 32px;
}

.wrapper .screen-box .main .main-inner .inner-left ul li span {
	display: inline-block;
	width: 5px;
	height: 8px;
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -4px;
	background-image: url('./img/yjt.png');
	background-size: 100% 100%;
}

.wrapper .screen-box .main .main-inner .inner-left ul li:hover {
	background-color: #ffe4dc;
}

.wrapper .screen-box .main .main-inner .inner-left ul li:hover a{
	color: #ff5000;
}

.wrapper .screen-box .main .main-inner .inner-content {
	float: left;
	width: 520px;
	height: 522px;
}

.wrapper .screen-box .main .main-inner .inner-content .pic-box {
	padding: 8px;
}

.wrapper .screen-box .main .main-inner .inner-content .inner-mall {
	width: 520px;
	height: 230px;
	padding: 0 8px;
}

.wrapper .screen-box .main .main-inner .inner-content .inner-mall .tm {
	font-size: 12px;
	color: #666;
}

.wrapper .screen-box .main .main-inner .inner-right {
	float: left;
	padding: 8px;
	width: 160px;
	height: 522px;

}

.wrapper .screen-box .main .main-inner .inner-right .hot {
	font-size: 12px;
	margin-top: 11px;

}

.wrapper .screen-box .main .main-bottom {
	width: 890px;
	height: 100px;
}

.wrapper .screen-box .main .main-bottom .content {
	background-color: #fff;
	padding: 14px 12px;
	margin-top: 10px;
	position: relative;
}

.wrapper .screen-box .main .main-bottom .content .logo-box {
	width: 180px;
	height: 73px;
	background-image: url('./img/tbtt.png');
	background-size: 100% 100%;
}

.wrapper .screen-box .main .main-bottom .content a {
	position: absolute;
	top: 14px;
	left: 200px;
}

.wrapper .screen-box .main .main-bottom .content a img {
	float: left;
}

.wrapper .screen-box .main .main-bottom .content a h4 {
	margin-top: 2px;
	margin-left: 144px;
	color: #333;
	line-height: 28px;
	font-size: 16px;
	height: 28px;
}

.wrapper .screen-box .main .main-bottom .content a h4:hover {
	color: #ff5000;
}

.wrapper .screen-box .main .main-bottom .content a p {
	margin-left: 144px;
	color: #999;
	height: 36px;
	overflow: hidden;
	line-height: 14px;
	margin-top: 3px;
}

/*右侧部分*/
.wrapper .screen-box .col-right {
	float: left;
	width: 290px;
	height: 632px;
}

.wrapper .screen-box .col-right .member {
	width: 290px;
	height: 132px;
	background-image: url('./img/bg.png');
	background-size: 100% 100%;
	margin-top: 10px;
}

.wrapper .screen-box .col-right .member .member-head {
	width: 290px;
	height: 91px;
}

.wrapper .screen-box .col-right .member .member-head .head {
	width: 290px;
	height: 56px;
	text-align: center;
	
}

.wrapper .screen-box .col-right .member .member-head .info {
	display: block;
	width: 290px;
	height: 17px;
	color: #3c3c3c;
	font-size: 14px;
	line-height: 17px;
	text-align: center;
}

.wrapper .screen-box .col-right .member .member-head .head a {
	display: inline-block;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-image: url('./img/tx.jpg');
	background-size: 100% 100%;
}

.wrapper .screen-box .col-right .member .member-head p {
	width: 290px;
	height: 17px;
	text-align: center;
	line-height: 17px;
}

.wrapper .screen-box .col-right .member .member-head p a {
	display: inline-block;
	width: 72px;
	height: 17px;
	border-radius: 9px;
	background-color: #ffe4db;
	font-size: 12px;
	color: #ff5000;
	padding: 0 29px;
	position: relative;
}

.wrapper .screen-box .col-right .member .member-head p a span {
	position: absolute;
	display: inline-block;
	width: 16px;
	height: 16px;
	top: 0;
	left: 10px;

}

.wrapper .screen-box .col-right .member .member-head p a.icon span {
	background-image: url('./img/pics.png');
	background-position: 0 -572.5px; /*调整图片位置*/
}

.wrapper .screen-box .col-right .member .member-head p a.club span {
	background-image: url('./img/pics.png');
	background-position: 0 -528px;
}

.wrapper .screen-box .col-right .member .member-foot {
	width: 290px;
	height: 40px;
	text-align: center;;
	padding-top: 10px;
}

.wrapper .screen-box .col-right .member .member-foot a {
	display: inline-block;
	height: 25px;
	width: 75px;
	background: linear-gradient(to right, #ff5000 0, #ff6f06 100%);
	border-radius: 4px;
	text-align: center;
	line-height: 25px;
	font-size: 14px;
	color: #fff;
	font-weight: 700;
}

.wrapper .screen-box .col-right .member .member-foot a.login {
	width: 92px;
}

.wrapper .screen-box .col-right .message {
	width: 290px;
	height: 26px;
}

.wrapper .screen-box .col-right .message a {
	display: inline-block;
	width: 100%;
	height: 100%;
	background-color: #ffe4dd;
	color: #f40;
	font-size: 12px;
	text-align: center;
	line-height: 26px;
	position: relative;
}

.wrapper .screen-box .col-right .message a span {
	display: inline-block;
	width: 10px;
	height: 10px;
	position: absolute;
	top: 9px;
	right: 52px;
	background-image: url('./img/ysj.png');
	background-size: 100% 100%;
}

.wrapper .screen-box .col-right .notice {
	height: 98px;
	width: 100%;
	padding-top: 10px;
}

.wrapper .screen-box .col-right .notice ul li {
	float: left;
}

.wrapper .screen-box .col-right .notice .title {
	height: 24px;
	width: 100%;
	padding: 0 8px;
	/*box-sizing: border-box;*/ /*css3, 将当前标准模式下盒模型转换成IE模式下的盒模型*/
}

.wrapper .screen-box .col-right .notice .title li {
	width: 32px;
	height: 20px;
	margin: 0 11px;
	text-align: center;
}

.wrapper .screen-box .col-right .notice .title li a {
	color: #3c3c3c;
	font-size: 13px;
	line-height: 20px;
	padding: 0 2px;

}

.wrapper .screen-box .col-right .notice .title li a.active {
	font-weight: 700;
	border-bottom: 2px solid #f40;
}

.wrapper .screen-box .col-right .notice .title li a:hover,
.wrapper .screen-box .col-right .notice .content li a.active,
.wrapper .screen-box .col-right .notice .content li a:hover {
	color: #f40;
}

.wrapper .screen-box .col-right .notice .content {
	width: 100%;
	height: 50px;
	padding: 9px;
	/*box-sizing: border-box;*/ /*css3, 将当前标准模式下盒模型转换成IE模式下的盒模型*/
}

.wrapper .screen-box .col-right .notice .content li {
	width: 130px;
	height: 25px;
	line-height: 25px;
	text-align: center;
}

.wrapper .screen-box .col-right .notice .content li a {
	font-size: 12px;
	color: #3c3c3c;

}

.wrapper .screen-box .col-right .module {
	width: 100%;
	height: 230px;
}

.wrapper .screen-box .col-right .module ul li {
	float: left;
	width: 72px;
	height: 75px;
	border: 1px solid #eee;
	box-sizing: border-box; /*css3, 将当前标准模式下盒模型转换成IE模式下的盒模型*/
}

.wrapper .screen-box .col-right .module ul li:hover {
	border: 1px solid #f40;
}

.wrapper .screen-box .col-right .module ul li a {
	display: block;
	text-align: center;
	margin-top: 10px;
}

.wrapper .screen-box .col-right .module ul li a span {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url('./img/pics.png');
	
}

.wrapper .screen-box .col-right .module ul li a p {
	color: #333;
	font-size: 12px;
}

.wrapper .screen-box .col-right .module ul li a span.icon1{
	background-position: 0 0;
}

.wrapper .screen-box .col-right .module ul li a span.icon2{
	background-position: 0 -88;
}













 感谢观看,对我写的文章有兴趣的同学可以微信扫码关注我的微信公众号,本文源代码也可以从里面免费获取

 

 

 

 

 

 

html静态网页(淘宝网)
09-16
html静态网页(taobao网首页及附页)
Html淘宝静态页面
mamengna的博客
11-22 6211
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <link href="css/taobao.css" rel="stylesheet" type="text/css" /> </head> <body> <d...
html+css+js淘宝商品界面
最新发布
w11111xxxl的博客
07-04 849
图片使用了占位符图片,加载可能会慢一点。
HTML+CSS实现淘宝首页
热门推荐
道阻且长,行则将至。
01-03 3万+
一、HTML+CSS实现淘宝首页 仿写淘宝页面,趁着元旦假期终于把这个淘宝页面给做好了,原创不易,欢迎大家点赞和评论,需要源代码的评论区留言或者加我QQ(2997381395),大家记得关注我哦,我会不定期的跟大家分享文章。 二、页面结构如下: ...
HTML淘宝网页
08-15
html模仿淘宝网页,纯属娱乐。合适就下载。
html + css 实现淘宝首页静态页面
王大傻的博客
05-16 1万+
html + css 实现淘宝首页静态页面) 待续。。。 效果图: html代码如下: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>淘宝网 - 淘!我喜欢</title> <link rel="s
HTMLCSS实现淘宝静态页面参考).rar
09-10
在“HTMLCSS实现淘宝静态页面参考)”这个项目中,我们将深入探讨如何利用这两种技术来复刻淘宝网站的前端界面。 HTML是网页的结构语言,它定义了网页的基本元素,如标题、段落、链接、图片等。在实现淘宝...
仿淘宝电商网站管理系统前端静态页面(html+jquery+css)(含毕业设计论文及源码)
10-14
整套电子商城静态模板,包含登录、注册、商城主页、商品详情、...参考文献··································································4
html+css静态页面Demo(参考淘宝官网)-附件资源
03-02
html+css静态页面Demo(参考淘宝官网)-附件资源
HTML CSS 自制淘宝静态首页.zip
08-04
总的来说,这个压缩包提供了一个实用的练习平台,让你能实际操作HTMLCSS,创建一个与淘宝首页类似的静态页面。通过这个项目,你可以深入理解这两种语言的交互,以及如何使用它们来构建具有视觉吸引力的网页。对于...
淘宝静态页面
weixin_33774615的博客
07-19 360
1 <!DOCTYPE html> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <title&...
淘宝静态页面源码.7z
05-18
前端入门学习项目的源码,可以下载仿造学习使用。完成这个项目最后在一周的时间内可以完成。完成的此项目需求技术:html css 基本语法即可。但是建议先自己安装自己的思路做一遍,在来看源码进行学习,效果会更好。
淘宝静态源码单页面源码
03-10
淘客静态源码淘宝静态源码单页面源码,真麻烦啊,我这是从淘宝上花钱买的,还让我写这么多描述
淘宝网简单html+css实现
06-25
完全的用html+css实现的简单淘宝网站,会持续更新,到时候会加上js
淘宝页面最新HTML+CSS).zip
12-11
使用HTMLCSS制作的淘宝首页静态页面总共上千行代码cssHTML分开布局,适合刚学过HTMLCSS但还不懂CSSHTML分离的人
html+css淘宝首页
09-11
html+css淘宝首页,想只看代码的可以去我发表的文章里看,这里有图片素材和代码
HTML+CSS+JS大作业:商城网购网站设计——淘宝1页
而风不止
11-17 2343
HTML:结构CSS:样式 GF 采用了div+css结构、表单、超链接、浮动、绝对定位、相对定位、字体样式、引用视频等基础知识JavaScript:做与用户的交互行为(1)html文件:其中index.html首页、其他html为二级页面; (2)css文件:css全部页面样式,文字滚动, 图片放大等; (3)js文件:js实现动态轮播特效, 表单提交, 点击事件等等(网页中运用到js代码)(1)首页:进入网页中看到的第一个页面(LOGO、公司名称、导航、banner
HTML+CSS+JavaScript仿京东购物商城网站 web前端制作服装购物商城 html电商购物网站
VX_WJ88950106的博客
08-06 2万+
⚽精彩专栏推荐👇🏻👇🏻👇🏻 ❤ 【作者主页——🔥获取更多优质源码】 ❤ 【web前端期末大作业——🔥🔥毕设项目精品实战案例(1000套)】1 网页简介:此作品为学生个人主页网页设计题材,HTML+CSS 布局制作,web前端期末大作业,大学生网页设计作业源码,这是一个不错的网页制作,画面精明,代码为简单学生水平, 非常适合初学者学习使用。2.网页编辑:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Web......
淘宝首页仿写(html+css+js)
weixin_46811890的博客
08-10 2万+
代码淘宝首页仿写(html+css+js)
鞋店淘宝html页面
02-28
鞋店淘宝HTML页面通常包含以下几个部分: 1. 顶部导航栏:包括网站的Logo、搜索框、购物车等功能按钮,方便用户进行导航和搜索。 2. 轮播图:用于展示鞋店的热门产品或者促销活动,吸引用户的注意力。 3. 分类菜单:展示鞋店的不同鞋类别,如运动鞋、休闲鞋、高跟鞋等,方便用户按照自己的需求进行筛选。 4. 商品列表:展示鞋店的各类鞋子,包括商品的图片、名称、价格等信息,用户可以通过点击进入商品详情页进行购买。 5. 商品筛选:提供一些筛选条件,如品牌、颜色、尺码等,方便用户根据自己的需求进行筛选。 6. 底部导航栏:包括网站的联系方式、客服服务、帮助中心等链接,方便用户获取更多信息和帮助。 以上是鞋店淘宝HTML页面的一般结构,具体的页面设计和布局可以根据鞋店的品牌风格和用户需求进行定制。
写文章

热门文章

  • HTML与CSS实现淘宝静态页面(参考版) 30604
  • mac下安装配置python3.7 19329
  • python+tkinter学生管理系统 17178
  • windows下安装python3.x和virtualenv虚拟环境 10881
  • Vue2.x background:url()踩坑 10203

分类专栏

  • React 2篇
  • 面试题 3篇
  • 面经 1篇
  • 前端 8篇
  • nginx 2篇
  • java 4篇
  • HTML、CSS、JavaScript 6篇
  • LeetCode 4篇
  • python 8篇
  • 数据库 3篇
  • 浏览器 1篇
  • 其他 1篇
  • Vue 9篇

最新评论

  • HTML与CSS实现淘宝静态页面(参考版)

    2201_75377251: 有爱淘宝的吗

  • python+tkinter学生管理系统

    一苇所如: 报错不说了吗,tabel只有四列,你写了6个问号就是要添加4个值

  • python+tkinter学生管理系统

    weixin_65566599: cur.execute("insert into student values(?,?,?,?,?,?)", tuple(list1)) sqlite3.OperationalError: table student has 4 columns but 6 values were supplied 楼主报错救急!!!!!!!

  • python+tkinter学生管理系统

    weixin_65566599: con = sqlite3.connect(dbstr) sqlite3.OperationalError: unable to open database file,作者请问这个是什么问题

  • python+tkinter学生管理系统

    ssklma: 请问删除怎么弄啊

大家在看

  • springboot+vue足球俱乐部系统【开题+程序+论文】
  • 泛海微4056H印字丝印1A 线性锂离子电池充电管理IC耐压30V
  • 电商返利平台的实时推荐与个性化服务 2093
  • 最全终端lux命令下载视频的一篇博文,保证一看就会,上手就对 59
  • 局域网用指令传文件 286

最新文章

  • React 优先级队列小顶堆的简单实现
  • 处理关于 React lazy 白屏的两种方案
  • 手把手带你熟悉一个前端项目
2024年2篇
2021年6篇
2020年11篇
2019年15篇
2018年12篇

目录

目录

评论 14
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

WF帆少

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或 充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值

玻璃钢生产厂家浙江十二生肖玻璃钢雕塑4月份商场美陈大理玻璃钢卡通雕塑定制三明玻璃钢造型雕塑价格表卢氏玻璃钢雕塑价格玻璃钢卡通动漫雕塑供应商商场美陈大树仙人掌雕塑玻璃钢论文南宁玻璃钢白鹭雕塑辽宁高跟鞋玻璃钢雕塑郑州玻璃钢雕塑之家玻璃钢佛像雕塑怎么合作河北大型商场美陈批发辽宁玻璃钢博物馆雕塑玻璃钢景观雕塑实体工厂上海玻璃钢青椒雕塑商场美陈英文叫什么河南步行街玻璃钢雕塑销售电话曲阳园林玻璃钢雕塑全国发货湖南省玻璃钢雕塑哪家强盘锦玻璃钢雕塑工艺品商场文创美陈图片安庆公园玻璃钢雕塑设计山东景观玻璃钢雕塑设计长沙园林玻璃钢雕塑定做浴火涅槃凤凰玻璃钢雕塑价格重庆玻璃钢花盆图片大全上海秦春玻璃钢雕塑宿州创意玻璃钢雕塑销售电话重庆学校玻璃钢雕塑销售厂家香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警汪小菲曝离婚始末遭遇山火的松茸之乡雅江山火三名扑火人员牺牲系谣言何赛飞追着代拍打萧美琴窜访捷克 外交部回应卫健委通报少年有偿捐血浆16次猝死手机成瘾是影响睡眠质量重要因素高校汽车撞人致3死16伤 司机系学生315晚会后胖东来又人满为患了小米汽车超级工厂正式揭幕中国拥有亿元资产的家庭达13.3万户周杰伦一审败诉网易男孩8年未见母亲被告知被遗忘许家印被限制高消费饲养员用铁锨驱打大熊猫被辞退男子被猫抓伤后确诊“猫抓病”特朗普无法缴纳4.54亿美元罚金倪萍分享减重40斤方法联合利华开始重组张家界的山上“长”满了韩国人?张立群任西安交通大学校长杨倩无缘巴黎奥运“重生之我在北大当嫡校长”黑马情侣提车了专访95后高颜值猪保姆考生莫言也上北大硕士复试名单了网友洛杉矶偶遇贾玲专家建议不必谈骨泥色变沉迷短剧的人就像掉进了杀猪盘奥巴马现身唐宁街 黑色着装引猜测七年后宇文玥被薅头发捞上岸事业单位女子向同事水杯投不明物质凯特王妃现身!外出购物视频曝光河南驻马店通报西平中学跳楼事件王树国卸任西安交大校长 师生送别恒大被罚41.75亿到底怎么缴男子被流浪猫绊倒 投喂者赔24万房客欠租失踪 房东直发愁西双版纳热带植物园回应蜉蝣大爆发钱人豪晒法院裁定实锤抄袭外国人感慨凌晨的中国很安全胖东来员工每周单休无小长假白宫:哈马斯三号人物被杀测试车高速逃费 小米:已补缴老人退休金被冒领16年 金额超20万

玻璃钢生产厂家 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化