springboot怎么把数据传给前端:springboot 如何引入前端 bootstrap?
这种问题网上一搜一大堆,你可以具体找一篇文章试试,遇到问题可以针对相关问题去提问。springboot通过jar包方式引入bootstrap_个人文章 - SegmentFault 思否 这不是查查就
顺晟科技
2022-10-19 13:14:46
31
CSS代码。
/* media query for tablet */
@media only screen and (max-width: 768px) {
.cta {
font-size: 2.5rem;
padding: 20px 60px;
}
h1 .section-title {
font-size: 6rem;
}
/* hero section */
#hero h1 {
font-size: 7rem;
}
/* end of hero section */
/* service section */
#services .service-bottom .services-item {
flex-basis: 45%;
margin: 2.5%;
}
/* end of service section */
}
/* end of media query for tablet */
/* media query for desktop */
@media only screen and (min-width: 1500px) {
/* header */
#header .hamburger {
display: none;
}
/* end of header */
}
/* end of media query for desktop */
HTML代码
/* media query for tablet */
@media only screen and (max-width: 768px) {
.cta {
font-size: 2.5rem;
padding: 20px 60px;
}
h1 .section-title {
font-size: 6rem;
}
/* hero section */
#hero h1 {
font-size: 7rem;
}
/* end of hero section */
/* service section */
#services .service-bottom .services-item {
flex-basis: 45%;
margin: 2.5%;
}
/* end of service section */
}
/* end of media query for tablet */
/* media query for desktop */
@media only screen and (min-width: 1500px) {
/* header */
#header .hamburger {
display: none;
}
/* end of header */
}
/* end of media query for desktop */
我对tablet和desktop的媒体查询没有响应,尽管VSCODE中没有代码错误。我首先设计了手机版,然后是平板媒体查询,最后是桌面媒体查询,都没有响应。我的媒体查询位于关键帧下面。
顺晟科技:
请看一下这些尺寸
https://getbootstrap.com/docs/4.1/layout/overview/
尝试以下操作: @媒体屏幕和(最大宽度:768px){
}
05
2022-12
02
2022-12
02
2022-12
29
2022-11
29
2022-11
24
2022-11