mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
59 lines
1.4 KiB
Vue
59 lines
1.4 KiB
Vue
<template>
|
|
<div class="guide-design">
|
|
<div class="el-row cards" style="margin-left: -7px; margin-right: -7px">
|
|
<div class="el-col el-col-24 el-col-xs-12 el-col-sm-6 is-guttered">
|
|
<div class="card">
|
|
<consistency-svg m="4" w="20" alt="Consistency" />
|
|
<p>Consistency</p>
|
|
</div>
|
|
</div>
|
|
<div class="el-col el-col-24 el-col-xs-12 el-col-sm-6 is-guttered">
|
|
<div class="card">
|
|
<feedback-svg m="4" w="20" alt="Feedback" />
|
|
<p>Feedback</p>
|
|
</div>
|
|
</div>
|
|
<div class="el-col el-col-24 el-col-xs-12 el-col-sm-6 is-guttered">
|
|
<div class="card">
|
|
<efficiency-svg m="4" w="20" alt="Efficiency" />
|
|
<p>Efficiency</p>
|
|
</div>
|
|
</div>
|
|
<div class="el-col el-col-24 el-col-xs-12 el-col-sm-6 is-guttered">
|
|
<div class="card">
|
|
<controllability-svg m="4" w="20" alt="Controllability" />
|
|
<p>Controllability</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
.el-col {
|
|
padding: 0 7px;
|
|
}
|
|
.card {
|
|
background: var(--el-fill-color-lighter);
|
|
height: 204px;
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
|
|
img {
|
|
margin: 1rem;
|
|
width: 5rem;
|
|
height: 5rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 767px) {
|
|
.el-col {
|
|
padding-bottom: 8px;
|
|
}
|
|
}
|
|
</style>
|