<! DOCTYPEhtml>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="Width = device - width, initial - scale = 1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Newsflash module</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        li {
            /* Remove the dot */ in front of li
            list-style: none;
        }

        .box {
            width: 248px;
            height: 163px;
            border: 1px solid #ccc;
            margin: 100px auto;
        }

        .box h3 {
            height: 32px;
            border-bottom: 1px dotted #ccc;
            font-size: 14px;
            font-weight: 400;
            line-height: 32px;
            padding-left: 15px;
        }

        .box ul li a {
            font-size: 12px;
            color: # 666;
            text-decoration: none;
        }

        .box ul li a:hover {
            text-decoration: underline;
        }

        .box ul li {
            height: 23px;
            line-height: 23px;
            padding-left: 20px;
        }

        .box ul {
            margin-top: 7px;
        }
    </style>
</head>

<body>
    <div class="box">
        <h3>Purchase express</h3>
        <ul>
            <li><a href="#">【 Special benefit 】 Explosive earphones 50% off second!</a></li>
            <li><a href="#">[Special] Mother's Day, healthy gifts to 50% off!</a></li>
            <li><a href="#">【 Special benefit 】 Explosive earphones 50% off second!</a></li>
            <li><a href="#">【 Special offer 】9.9 yuan to wash 100 photos!</a></li>
            <li><a href="#">【 Special offer 】 Changhong Intelligent air conditioner Provincial 1000</a></li>
        </ul>

    </div>
</body>

</html>
Copy the code