zoukankan      html  css  js  c++  java
  • 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 {
                 298px;
                height: 418px;
                /* 盒子水平居中显示 */
                margin: 100px auto;
                background-color: #ffffff;
            }
            .box .img {
                /* 设置宽为父元素宽度 */
                 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 .con {
                padding: 0px 28px;
                font-size: 14px;
            }
            .box .con .title {
                /* 改为行内块元素 */
                display: inline-block;
                font-weight: 400;
            }
            .box .con .price {
                color: rgb(255, 103, 0);
            }
            .box .con .ver {
                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="con">
                <h4 class="title"><a href="#">Redmi AirDots真无线蓝... </a></h4>
                <span class="ver">|</span>
                <span class="price">99.9元</span>
            </div>
        </div>
    </body>
    </html>
  • 相关阅读:
    矩阵的应用
    PyTorch工具
    python不同开根号速度对比
    GloVe损失函数的理解
    课程回顾-Convolutional Neural Networks
    课程回顾-Structuring Machine Learning Projects
    课程回顾-Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization
    课程回顾-Neural Network & Deep Learning
    使用GOOGLE COLAB训练深度学习模型
    如何使用Keras的Model visualization功能
  • 原文地址:https://www.cnblogs.com/llanq123/p/13808231.html
Copyright © 2011-2022 走看看