update
This commit is contained in:
@@ -1,60 +1,49 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>居中捐助与持续开发内容</title>
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 100vh;
|
height: 1100px;
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
.image-row {
|
||||||
.app__container {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
}
|
||||||
align-items: center;
|
.image-container {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin: 0 20px;
|
||||||
|
border: 2px solid #ccc; /* 添加方框样式 */
|
||||||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
|
||||||
|
transition: transform 0.3s; /* 添加上浮的过渡效果 */
|
||||||
}
|
}
|
||||||
|
.image-container:hover {
|
||||||
.app__data {
|
transform: translateY(-10px); /* 上浮效果 */
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
img {
|
||||||
.app__initial {
|
width: 200px;
|
||||||
text-align: initial;
|
height: 400px;
|
||||||
}
|
}
|
||||||
|
.image-caption {
|
||||||
.app__description {
|
font-size: 16px;
|
||||||
margin-bottom: var(--mb-3);
|
padding: 10px;
|
||||||
}
|
|
||||||
|
|
||||||
.app__img {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app__stores {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app__store {
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<title>带方框和上浮效果的图片</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="app__container bd-grid">
|
<div class="image-row">
|
||||||
<div class="app__data">
|
<div class="image-container">
|
||||||
<span class="section-subtitle app__initial">捐助与持续开发</span>
|
<img src="img/about.png" alt="Image 1">
|
||||||
<h2 class="section-title app__initial">我们每天都在进步!</h2>
|
<p class="image-caption">这是图片1的说明文字。</p>
|
||||||
<p class="app__description">这是 Teasiu 开发的固件和提供的个人网站,为了更好的持续进步,呼吁有能力的网友支持本站持续运作和固件持续开发更新。不甚感激!<br>您的捐助将用于本站的服务器架设和固件升级维护.</p>
|
</div>
|
||||||
<div class="app__stores">
|
<div class="image-container">
|
||||||
<a href="#"><img src="assets/img/donate.png" alt="" class="app__store"></a>
|
<img src="img/about.png" alt="Image 2">
|
||||||
</div>
|
<p class="image-caption">这是图片2的说明文字。</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<img src="assets/img/teasiu.png" alt="" class="app__img">
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user