很不错的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>