您的位置:首页 > Web前端

天猫品牌街Web前端开发 第二阶段设计

2017-02-12 02:14 585 查看
我们接下来要用backgroud的全简写定义格式实现一个缩小的“尚天猫”banner图标,先看看第二阶段要完成的效果截图:



<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<title>品牌街-上天猫,就够了</title>
<meta name="keywords" content="关键词,关键词">
<meta name="description" content="">
<style type="text/css">
body,div{margin:0;padding:0;}
body{font-size:12px;font-family:"微软雅黑";color:#666;}
.top{width:100%;height:85px;background:#ffffff;}
.top .t-header{width:1000px;height:85px;background:#ffffff;margin:0 auto;}
.top .t-header .t-logo{float:left;margin-top:28px;}
.top .t-header .t-desc{float:right;line-height:85px;font-size:22px;font-weight:300;}
.banner{width:100%;height:104px;background:#ff0000;}
</style>
</head>
<body>
<div class="top">
<div class="t-header">
<div class="t-logo">
<a href="#">
<img src="images/logo.png" alt="天猫Tmall.com" width="190px" height="27px"/>
</a>
</div>
<div class="t-desc">品牌咱都来这儿集合了!</div>
</div>
</div>
<div class="banner"></div>
</body>
</html>



<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<title>品牌街-上天猫,就够了</title>
<meta name="keywords" content="关键词,关键词">
<meta name="description" content="">
<style type="text/css">
body,div{margin:0;padding:0;}
body{font-size:12px;font-family:"微软雅黑";color:#666;}
.top{width:100%;height:85px;background:#ffffff;}
.top .t-header{width:1000px;height:85px;background:#ffffff;margin:0 auto;}
.top .t-header .t-logo{float:left;margin-top:28px;}
.top .t-header .t-desc{float:right;line-height:85px;font-size:22px;font-weight:300;}
.banner{width:100%;height:104px;background:#ff0000 url("images/banner.png");}
</style>
</head>
<body>
<div class="top">
<div class="t-header">
<div class="t-logo">
<a href="#">
<img src="images/logo.png" alt="天猫Tmall.com" width="190px" height="27px"/>
</a>
</div>
<div class="t-desc">品牌咱都来这儿集合了!</div>
</div>
</div>
<div class="banner"></div>
</body>
</html>





<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<title>品牌街-上天猫,就够了</title>
<meta name="keywords" content="关键词,关键词">
<meta name="description" content="">
<style type="text/css">
body,div{margin:0;padding:0;}
body{font-size:12px;font-family:"微软雅黑";color:#666;}
.top{width:100%;height:85px;background:#ffffff;}
.top .t-header{width:1000px;height:85px;background:#ffffff;margin:0 auto;}
.top .t-header .t-logo{float:left;margin-top:28px;}
.top .t-header .t-desc{float:right;line-height:85px;font-size:22px;font-weight:300;}
.banner{width:100%;height:104px;background:#ff0000 url("images/banner.png") no-repeat;}
</style>
</head>
<body>
<div class="top">
<div class="t-header">
<div class="t-logo">
<a href="#">
<img src="images/logo.png" alt="天猫Tmall.com" width="190px" height="27px"/>
</a>
</div>
<div class="t-desc">品牌咱都来这儿集合了!</div>
</div>
</div>
<div class="banner"></div>
</body>
</html>



<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<title>品牌街-上天猫,就够了</title>
<meta name="keywords" content="关键词,关键词">
<meta name="description" content="">
<style type="text/css">
body,div{margin:0;padding:0;}
body{font-size:12px;font-family:"微软雅黑";color:#666;}
.top{width:100%;height:85px;background:#ffffff;}
.top .t-header{width:1000px;height:85px;background:#ffffff;margin:0 auto;}
.top .t-header .t-logo{float:left;margin-top:28px;}
.top .t-header .t-desc{float:right;line-height:85px;font-size:22px;font-weight:300;}
.banner{width:100%;height:104px;background:#ff0000 url("images/banner.png") no-repeat center;}
</style>
</head>
<body>
<div class="top">
<div class="t-header">
<div class="t-logo">
<a href="#">
<img src="images/logo.png" alt="天猫Tmall.com" width="190px" height="27px"/>
</a>
</div>
<div class="t-desc">品牌咱都来这儿集合了!</div>
</div>
</div>
<div class="banner"></div>
</body>
</html>



<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<title>品牌街-上天猫,就够了</title>
<meta name="keywords" content="关键词,关键词">
<meta name="description" content="">
<style type="text/css">
body,div{margin:0;padding:0;}
body{font-size:12px;font-family:"微软雅黑";color:#666;}
.top{width:100%;height:85px;background:#ffffff;}
.top .t-header{width:1000px;height:85px;background:#ffffff;margin:0 auto;}
.top .t-header .t-logo{float:left;margin-top:28px;}
.top .t-header .t-desc{float:right;line-height:85px;font-size:22px;font-weight:300;}
.banner{width:100%;height:104px;background:#ff0000 url("images/banner.png") no-repeat center / 160px 68px;}
</style>
</head>
<body>
<div class="top">
<div class="t-header">
<div class="t-logo">
<a href="#">
<img src="images/logo.png" alt="天猫Tmall.com" width="190px" height="27px"/>
</a>
</div>
<div class="t-desc">品牌咱都来这儿集合了!</div>
</div>
</div>
<div class="banner"></div>
</body>
</html>



<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<title>品牌街-上天猫,就够了</title>
<meta name="keywords" content="关键词,关键词">
<meta name="description" content="">
<style type="text/css">
body,div{margin:0;padding:0;}
body{font-size:12px;font-family:"微软雅黑";color:#666;}
.top{width:100%;height:85px;background:#ffffff;}
.top .t-header{width:1000px;height:85px;background:#ffffff;margin:0 auto;}
.top .t-header .t-logo{float:left;margin-top:28px;}
.top .t-header .t-desc{float:right;line-height:85px;font-size:22px;font-weight:300;}
.banner{width:100%;height:104px;background:#ffffff url("images/banner.png") no-repeat center / 160px 68px;}
</style>
</head>
<body>
<div class="top">
<div class="t-header">
<div class="t-logo">
<a href="#">
<img src="images/logo.png" alt="天猫Tmall.com" width="190px" height="27px"/>
</a>
</div>
<div class="t-desc">品牌咱都来这儿集合了!</div>
</div>
</div>
<div class="banner"></div>
</body>
</html>

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: