网页图文效果

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html>
<head>
<!--声明当前页面的编码集charset=GBK,gb2312(中文编码),UTF-8(国际编码)-->
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<!--声明当前页面的三要素-->
<title></title>
<meta name="Keywords" content="关键词,关键词">
<meta name="description" content="">

<!--css , js-->
<!--内嵌样式-->
<style type="text/css">
*{margin:0px;padding:0px;}
img{border:0px;}
body{font-size:12px;color:#666;font-family:"微软雅黑";}
/*以“.”开头的css样式 称之为 类样式*/
.shop{width:642px;margin:50px auto;}
.shop ul li{list-style:none;margin-bottom:10px;position:relative;}
.shop ul li .text{width:200px;height:90px;position:absolute;left:0px;bottom:0px;}
.shop ul li .text p{text-align:center;}
.shop ul li .text .zk{margin:7px 0;}
.shop ul li .text .zk span{font-size:22px; color:red;}
.shop ul li a img{border:1px solid #e9e7ea;
/*css3 box-shadow: 右边 下边 阴影的范围 #e0dfe0;*/
box-shadow: 0 0 3px #e0dfe0;}
.shop ul li a:hover img{border:1px solid red;}


</style>


</head>
<body>

<!--以class="自定义名称" 称之为类样式-->
<!--shop start-->
<div class="shop">
<ul>
<li>
<a href="#">
<!--img 图片标签:四要素src,alt,width,height-->
<img src="images/1.jpg" alt="" width="640" height="180" />
</a>
<div class="text">
<p>艾米Amii女装专场</p>
<p class="zk"><span>1.7</span>折起</p>
<p>还剩10小时39分14秒</p>
</div>
</li>
<li>
<a href="#">
<img src="images/2.jpg" alt="" width="640" height="180" />
</a>
<div class="text">
<p>艾米Amii女装专场</p>
<p class="zk"><span>5.3</span>折起</p>
<p>还剩10小时39分14秒</p>
</div>
</li>
<li>
<a href="#">
<img src="images/3.jpg" alt="" width="640" height="180" />
</a>
<div class="text">
<p>艾米Amii女装专场</p>
<p class="zk"><span>2.3</span>折起</p>
<p>还剩10小时39分14秒</p>
</div>
</li>


</ul>

</div>
<!--end shop-->


</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值