h5css产品模块设计

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>产品模块</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        body {
            background-color: rgb(245, 245, 245);
        }

        a {
            text-decoration: none;
            color: #000000;
        }

        .box {
            width: 298px;
            height: 418px;
            margin: 100px auto;
            background-color: #ffffff;
        }

        .box .img {
            width: 100%;
        }

        .box .paragraph {
            padding: 0 28px;
            margin-top: 30px;
            font-size: 14px;
        }

        .box .evaluation {
            font-size: 12px;
            color: rgb(176, 176, 176);
            padding: 53px 28px 15px 28px;
        }

        .box .foot {
            padding: 0px 28px;
            font-size: 14px;
        }

        .box .foot .title {
            display: inline-block;
            font-weight: 400;
        }

        .box .foot .price {
            color: rgb(255, 103, 0);
        }

        .box .foot .ver {
            display: inline-block;
            color: rgb(236, 228, 229);
            margin: 0px 10px;
        }
    </style>
</head>

<body>
    <div class="box">
        <a href="#"><img src="images/img.jpg" alt="蓝牙图片" class="img"></a>
        <p class="paragraph"><a href="#">快递牛,整体不错蓝牙可以说秒连。红米给力</a></p>
        <div class="evaluation">来自于 117384232 的评价</div>
        <div class="foot">
            <h4 class="title"><a href="#">Redmi AirDots真无线蓝... </a></h4>
            <span class="ver">|</span>
            <span class="price">99.9元</span>
        </div>
    </div>
</body>

</html>

 

posted @ 2020-07-23 14:01  星辰ꦿ.大海  阅读(8)  评论(0编辑  收藏  举报