代码拉取完成,页面将自动刷新
/* 基础样式 */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
}
/* 导航栏样式 */
nav {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #333;
padding: 10px 20px;
color: white;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links a {
color: white;
text-decoration: none;
}
/* 轮播图样式 */
.carousel {
position: relative;
width: 100%;
height: 400px;
overflow: hidden;
}
.slides {
display: flex;
width: 300%;
height: 100%;
transition: transform 0.5s ease-in-out;
}
.slide {
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
}
.prev, .next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(0, 0, 0, 0.5);
color: white;
border: none;
padding: 10px;
cursor: pointer;
}
.prev {
left: 10px;
}
.next {
right: 10px;
}
/* 服务介绍样式 */
.services {
padding: 50px 20px;
text-align: center;
}
.service-cards {
display: flex;
justify-content: space-around;
margin-top: 20px;
}
.card {
width: 30%;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
}
/* 页脚样式 */
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。