很不错的UE交互

这篇博客展示了如何通过精心设计的UE交互提升用户体验。内容包括一个灵活的布局示例,采用div元素构建,包含四个带有标题的链接列表项。样式使用SCSS编写,实现了居中对齐、阴影效果、悬停动画等,旨在创造整洁且吸引人的视觉效果。
摘要由CSDN通过智能技术生成

很不错的UE交互

效果图

在这里插入图片描述

在这里插入图片描述

demo

<template>
<div>
    <div class="bg">
        <h2>很不错的UE交互</h2>
        <ul class="list">
            <li class="list_i">
                <a href="###" class="list_a" target="_blank">
                    <h4>标题一</h4>
                </a>
            </li>
            <li class="list_i">
                <a href="###" class="list_a" target="_blank">
                    <h4>标题二</h4>
                </a>
            </li>
            <li class="list_i">
                <a href="###" class="list_a" target="_blank">
                    <h4>标题三</h4>
                </a>
            </li>
            <li class="list_i">
                <a href="###" class="list_a" target="_blank">
                    <h4>标题四</h4>
                </a>
            </li>
        </ul>
    </div>
</div>
</template>

<style lang="scss" scoped>
.bg {
    background: #FBFBFC;
    text-align: center;
    padding: 100px 0;
}

.list {
    display: flex;
    margin:30px auto;
    width: 890px;

    &_i {
        height: 324px;
        width: 200px;
        padding-top: 0px;
        display: inline-block;
        background-color: #ffffff;
        padding: 40px 24px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
        border: 1px solid #f1f1f1;
        transition: all .25s;
        transform: translate3d(0, 0, 0);
        border-radius: 6px;
        &:not(:last-child){
            margin-right: 30px;
        }

        &:hover {
            box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
            transition: all .25s;
            transform: translate3d(0, -4px, 0);
        }
    }
}
</style>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值