导航栏制作 图片排列

图片排列

代码如下:

<head>
	<meta charset="UTF-8">
	<title>礼品网页</title>
	<style>
		.all{ width: 20%;height: 120px;background-color: gray;float: left;margin-left: 4%;}
		.all img{width: 100%;height: 280px;}
		.all a{text-decoration: none;}
		
	
		.bll{position: relative;top: 600px;
			width: 20%;height: 120px;background-color: gray;float: left;margin-left: 4%;}
		.bll img{width: 100%;height: 280px;}
		.bll a{text-decoration: none;}
		
		.cll{position: relative;top:120px;
			width: 20%;height: 120px;background-color: gray;float: left;margin-left: 4%;}
		.cll img{width: 100%;height: 280px;}
		.cll a{text-decoration: none;}
		
		.vv button{text-align:center;font-size:20px;
		width: 100%;color: black;font-family: "微软雅黑";}
        .vv a{font-size: 20px;color: black;font-family: "微软雅黑";}
       .cc{position:  absolute;left: 0px;top: 1180px;}
	</style>
</head>
<body>
	<P><b>定制展示:</b></P>
	
	<div class="all"><a href="定制商城.html"  target="_blank">抱枕</a>
		<img src="img/抱枕.jpg">
	</div>
	<div class="all"><a href="定制商城.html" target="_blank">午睡毯</a>
		<img src="img/午睡毯.jpg">
	</div>
	
	<div class="all"><a href="定制商城.html" target="_blank">围巾</a>
		<img src="img/围巾.jpg">
	</div>
	
	<div class="all"><a href=""target="_blank">地毯</a>
		<img src="img/地毯.jpg">
	</div>
	
	<div class="bll"><a href=""target="_blank">收纳箱</a>
		<img src="img/收纳箱.jpg">
	</div>
	<div class="bll"><a href=""target="_blank">毛线帽</a>
		<img src="img/毛线帽.jpg">
	</div>
	<div class="bll"><a href=""target="_blank">浴巾</a>
		<img src="img/浴巾.jpg">
	</div>
	<div class="bll"><a href=""target="_blank">纸巾</a>
		<img src="img/纸巾.jpg">
	</div>
	
	
	<div class="cll"><a href=""target="_blank">耳机</a>
		<img src="img/耳机.jpg">
	</div>
	<div class="cll"><a href=""target="_blank">衣架</a>
		<img src="img/衣架.jpg">
	</div>
	
	<div class="cll"><a href=""target="_blank">雨伞</a>
		<img src="img/雨伞.jpg">
	</div>
	
	<div class="cll"><a href=""target="_blank">台灯</a>
		<img src="img/台灯.jpg">
	</div>
	<div class="vv">
	<button class="cc"><a href="首页.html" target="_blank"><b>返回</b></button></a></div>
	</body>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值