PS不会就用CSS写一个吧 [复制链接]

帖子链接已复制到剪贴板
V 天马 (UID: 2055) 6月前

585 6

我也是服了PS弄不好搜索框,我直接开摆...

 

 

<div style="
    height: 140px;
    width: 280px; /* 修改宽度为280px */
    background-color: #e1eeff;
    color: #fff;
    display: flex;
    border-radius: 2px;
    overflow: hidden;
    font-family: '汉仪旗黑', sans-serif;
    margin: 10px; /* 添加10px的外边距 */
">
    <div style="
        width: 120px; /* 修改为120px */
        height: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    ">
        <img src="图片地址" alt="QR Code" style="
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain;
        ">
    </div>
    <div style="
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    ">
        <div style="margin-bottom: 20px; font-weight: bold; color: #000; font-size: 18px;">QQ交流群</div>
        <div style="
            width: 120px; /* 右侧容器宽度修改为120px */
            height: 30px;
            background-color: #fff;
            color: #000;
            text-align: center;
            line-height: 30px;
            font-size: 16px;
            border: none;
            border-radius: 5px;
        ">123456</div>
    </div>
</div>
这家伙太懒了,什么也没留下。
已有评论 (6)
提示:您必须 登录 才能查看此内容。
创建新帖
广告推广点击空位自助购买