<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>品优购快报模块</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
div {
width: 400px;
height: 200px;
border: 1px solid black;
margin: 100px auto;
}
div .top {
height: 50px;
line-height: 50px;
padding-left:20px;
border-bottom: 1px black dashed;
}
.box ul li a{
font-size: 15px;
color: #000000;
text-decoration: none;
}
.box ul li a:hover {
text-decoration: underline;
}
li {
/* 去掉li前的小圆点 */
list-style: none;
}
.box ul li {
height: 25px;
line-height: 25px;
padding-left: 20px;
}
.box ul {
margin-top: 7px;
}
</style>
</head>
<body>
<div id="" class="box">
<p class="top">品优购快报</p>
<ul>
<li><a href="#">【特惠】爆款耳机5折秒!</a></li>
<li><a href="#">【特惠】母亲节,健康好礼低至5折!</a></li>
<li><a href="#">【特惠】爆款耳机5折秒!</a></li>
<li><a href="#">【特惠】9.9元洗100张照片!</a></li>
<li><a href="#">【特惠】长虹只能空调立省1000!</a></li>
</ul>
</div>
</body>
</html>
鼠标点击到标签上是出现下划线