springboot怎么把数据传给前端:springboot 如何引入前端 bootstrap?
这种问题网上一搜一大堆,你可以具体找一篇文章试试,遇到问题可以针对相关问题去提问。springboot通过jar包方式引入bootstrap_个人文章 - SegmentFault 思否 这不是查查就
顺晟科技
2022-10-19 13:01:16
210
我正在尝试我的设计,因为我还在理解CSS,我不明白为什么我的图像和文本没有在导航栏上相互对齐,这就是它的样子:
这是我的HTML代码:
顺晟科技:
可以尝试设置为对齐
请查找实现。
添加
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
.logo {
color: rgb(21, 168, 144);
text-transform: uppercase;
letter-spacing: 10px;
}
.logo img {
width: 50px;
height: 60px;
/* border: 2px solid black; */
margin: 0 0 0 15px;
float: left;
}
nav {
display: flex;
justify-content: space-around;
align-items: center;
min-height: 8vh;
font-family: "Poppins", sans-serif;
background-color: rgb(245, 245, 245);
}
.nav-links {
display: flex;
justify-content: space-around;
width: 30%;
}
.nav-links li {
list-style: none;
padding: 20px 40px;
}
.nav-links a {
color: black;
text-decoration: none;
letter-spacing: 2px;
font-size: 15px;
}
使用flex,如下所示
05
2022-12
02
2022-12
02
2022-12
29
2022-11
29
2022-11
24
2022-11