<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="subject" class="wrapper">
<ul>
<li class="big">
<a href="#link1">
<img src="http://gtms01.alicdn.com/tps/i1/T1Lvt3Fv4kXXbA5QAK-195-120.jpg_Q90.jpg">
<div class="info">
<h3 style="color:#f62368">聚美妆</h3>
<p>聚美妆1/2周年庆</p>
<p class="price"><strong>1</strong><i>折起</i></p>
</div>
<s class="line"></s>
<i class="mask"></i>
</a>
</li>
<li>
<a href="#link1">
<img src="http://gtms01.alicdn.com/tps/i1/T1Lvt3Fv4kXXbA5QAK-195-120.jpg_Q90.jpg">
<div class="info">
<h3 style="color:#f62368">聚美妆</h3>
<p>聚美妆1/2周年庆</p>
<p class="price"><strong>1</strong><i>折起</i></p>
</div>
<s class="line"></s>
<i class="mask"></i>
</a>
</li>
<li>
<a href="#link1">
<img src="http://gtms01.alicdn.com/tps/i1/T1Lvt3Fv4kXXbA5QAK-195-120.jpg_Q90.jpg">
<div class="info">
<h3 style="color:#f62368">聚美妆</h3>
<p>聚美妆1/2周年庆</p>
<p class="price"><strong>1</strong><i>折起</i></p>
</div>
<s class="line"></s>
<i class="mask"></i>
</a>
</li>
<li>
<a href="#link1">
<img src="http://gtms01.alicdn.com/tps/i1/T1Lvt3Fv4kXXbA5QAK-195-120.jpg_Q90.jpg">
<div class="info">
<h3 style="color:#f62368">聚美妆</h3>
<p>聚美妆1/2周年庆</p>
<p class="price"><strong>1</strong><i>折起</i></p>
</div>
<s class="line"></s>
<i class="mask"></i>
</a>
</li>
<li>
<a href="#link1">
<img src="http://gtms01.alicdn.com/tps/i1/T1Lvt3Fv4kXXbA5QAK-195-120.jpg_Q90.jpg">
<div class="info">
<h3 style="color:#f62368">聚美妆</h3>
<p>聚美妆1/2周年庆</p>
<p class="price"><strong>1</strong><i>折起</i></p>
</div>
<s class="line"></s>
<i class="mask"></i>
</a>
</li>
</ul>
</div>
</body>
</html>
body,ul,li,p,h3 {margin: 0;padding: 0}
ul,ol {list-style: none;}
/*外框*/
.wrapper{ height:128px; border:1px solid #d3d3d3;}
/*动画效果*/
.wrapper ul *{ transition:all .1s linear;}
.wrapper li{ width:156px; height:128px; float:left; overflow:hidden;}
.wrapper li a{ width:156px; height:128px; display:block; position:relative; cursor:pointer; text-decoration:none; overflow:hidden;}
/*当前列表项悬停遮罩层消失*/
.wrapper li a:hover .mask{ opacity:0;}
.wrapper li img{ height:72px; width:117px; position:absolute; bottom:0; ?;}
.wrapper li .line{ height:128px; width:0; font-size:0; border-right:1px dashed #cacaca; position:absolute; right:0; top:4px;}
.wrapper li .info{ position:absolute; top:0; left:0; width:136px; padding:4px 10px;}
.wrapper li .info h3{ font-size:14px; font-weight:700;}
.wrapper li .info p{ color:#868686; font-size:12px; overflow:hidden; width:136px; height:22px; line-height:22px;}
.wrapper li .info p.price{ font-size:14px; font-style:italic; color:#fa2a5d; height:35px;}
.wrapper li .info p.price strong{ font-size:22px; font-family:Arial; padding-right:2px;}
.wrapper li .info p.price i{ font-size:14px}
/*遮罩层的样式*/
.wrapper .mask{ height:128px; width:156px; display:block; position:absolute; top:0; left:0; background:#000;opacity:0;}
/*遮罩层悬停时显示阴影*/
.wrapper:hover .mask{?;}
/*展开状态*/
.wrapper .big, .wrapper .big a { width:314px}
.wrapper .big img{ width:195px; height:120px; right:0; bottom:0;}
.wrapper .big .info{ width:294px;}
.wrapper .big .info h3{ font-size:18px;}
.wrapper .big .info p{ font-size:14px; width:166px;}
.wrapper .big .info p.price{ font-size:16px; padding-top:7px;}
.wrapper .big .info p.price strong{ font-size:28px;}
.wrapper .big .info p.price i{ font-size:16px;}
.wrapper .big .mask{ width:314px;}
.wrapper li.big a:hover .mask{ opacity:0;}