springboot怎么把数据传给前端:springboot 如何引入前端 bootstrap?
这种问题网上一搜一大堆,你可以具体找一篇文章试试,遇到问题可以针对相关问题去提问。springboot通过jar包方式引入bootstrap_个人文章 - SegmentFault 思否 这不是查查就
顺晟科技
2021-08-08 11:25:22
18
我正在用Vue.js和flex box制作一个卡片堆栈,在我的网站上显示各种应用程序。我为每张卡片使用一个组件,并使用VUES的for函数以以下模板HTML呈现卡片:
<div class="card">
<img src="">
<h1>Title</h1>
</div>
此组件称为“app-card”。我在以下HTML中呈现卡片:
<div id="app">
<div class="row">
<div id="card-container">
<app-card> <!--Above HTML from template goes here--> </app-card>
</div>
<div id="main"></div>
</div>
</div>
我使用以下SASS(在本例中不包含{}的CSS)作为我的牌组:
*
margin: 0
padding: 0
font-family: 'Montserrat', sans-serif !important
box-sizing: border-box
.row
display: flex
flex-wrap: wrap
justify-content: space-evenly
align-items: auto
#card-container
flex: 10%
#main
flex: 90%
.card
width:
margin-top: 0;
margin-bottom: auto;
.card img
width:
max-width:
.card a
padding: 10px
background: blue
但是,下一张牌在甲板上的顶部会切掉上面这张牌按钮的底部,如下图所示:
我该怎么解决这个问题?我在使用Bootstrap-4多年后才开始学习flex-box。
顺晟科技:
05
2022-12
02
2022-12
02
2022-12
29
2022-11
29
2022-11
24
2022-11