springboot怎么把数据传给前端:springboot 如何引入前端 bootstrap?
这种问题网上一搜一大堆,你可以具体找一篇文章试试,遇到问题可以针对相关问题去提问。springboot通过jar包方式引入bootstrap_个人文章 - SegmentFault 思否 这不是查查就
顺晟科技
2022-10-18 13:34:17
58
我无法使用实时服务器打开我的背景。我不确定我做错了什么。我已经附上了index.HTML表和style.CSS表。所有出现的是一个灰色的屏幕为我的背景,而不是图像。我将把登录信息放在背景的顶部,这就是我使用线性渐变的原因。
<代码>*{保证金:0;填充:0;}.英雄{高度:100%;宽度:100%;背景图像:线性渐变(RGBA(0,0,0,0.4),RGBA(0,..网址(123.JPG);背景-位置:中心;背景大小:封面;位置:绝对;}
<代码><;!文档类型HTML>;<;HTML Lang=“ en ”>;<;头部>;<;meta charset=“ UTF-8 ”/>;<;meta HTTP-equiv=“ X-ua-compatible ” content=“ ie=edge ”/>;<;meta name=“ viewport ” content=“ width=device-width,initial-scale=1.0 ”/>;<;标题>;全球自动化时间表<;/标题>;<;link rel=“ stylesheet ” href=“ style.CSS ”/>;<;/标题>;<;身体>;<;DIV类=“英雄”>;<;DIV CLASS=“ form-box ”>;<;/DIV>;<;/DIV>;<;/正文>;<;/HTML>;
顺晟科技:
<代码>.英雄{高度:100%;宽度:100%;背景图像:线性渐变(RGBA(0,0,0,0.4),RGBA(0,..)),URL(' images/123.JPG ');背景-位置:中心;背景大小:封面;位置:绝对;}在
* {
margin: 0;
padding: 0;
}
.hero {
height: 100%;
width: 100%;
background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
url(123.jpg);
background-position: center;
background-size: cover;
position: absolute;
}
中使用撇号<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Global Automation Timesheet</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="hero">
<div class="form-box"></div>
</div>
</body>
</html>
。还要确保您正确地写下了图像位置。
05
2022-12
02
2022-12
02
2022-12
29
2022-11
29
2022-11
24
2022-11