3 Star 36 Fork 8

徐小夕/js-excel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
styles.css 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
xuxiaoxi 提交于 2025-03-19 12:09 +08:00 . :new:js-excel
/* 基础样式 */
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;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lowcode-china/js-excel.git
git@gitee.com:lowcode-china/js-excel.git
lowcode-china
js-excel
js-excel
master

搜索帮助