音乐网站设计模板(音乐网站设计模板下载)

哆啦Ai流程自动化发布于:2023-05-03 01:29热度:1007 ℃
点赞37收藏

以下是一个简单的音乐网站设计模板,你可以根据自己的需要进行修改:
HTML代码:
```html




My Music网站





My Music网站





音乐





听众



  • User 1

  • User 2

  • User 3




歌单










```
CSS代码:
```css
body {
background-color: #333;
font-family: Arial, sans-serif;
}
header {
background-color: #F7F7F7;
color: #333;
padding: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.logo {
width: 100px;
height: 100px;
background-image: url('logo.png');
background-size: cover;
margin-top: 50px;
}
.title {
width: 100px;
height: 50px;
background-image: url('title.png');
background-size: cover;
margin-top: 50px;
text-align: center;
font-size: 36px;
}
nav ul {
list-style: none;
padding: 0;
}
nav li {
margin-right: 20px;
}
main {
display: flex;
flex-direction: column;
justify-content: space-between;
margin-bottom: 20px;
}
section {
margin-bottom: 30px;
}
h2 {
font-size: 24px;
margin-bottom: 10px;
}
ul {
list-style: none;
padding: 0;
}
li {
margin-bottom: 10px;
}
.music {
background-color: #F7F7F7;
color: #333;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.music h2 {
font-size: 24px;
margin-bottom: 10px;
}
.music ul {
margin-bottom: 20px;
}
.music li {
margin-bottom: 10px;
}
.听众 {
background-color: #F7F7F7;
color: #333;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.听众 h2 {
font-size: 24px;
margin-bottom: 10px;
}
.听众 ul {
margin-bottom: 20px;
}
.歌单 {
background-color: #F7F7F7;
color: #333;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.歌单 h2 {
font-size: 24px;
margin-bottom: 10px;
}
.歌单 ul {
margin-bottom: 20px;
}
```