Skip to content

Commit adcfc33

Browse files
committed
add a part of main module
1 parent 0958018 commit adcfc33

2 files changed

Lines changed: 81 additions & 3 deletions

File tree

‎public/css/index.css‎

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22
position: relative;;
33
height: 100%;
44
}
5-
section.main {
5+
section.section {
66
height: 100%;
7-
background-color: rgb(27, 188, 155);
8-
overflow: hidden;
7+
overflow: hidden;;
98
position: relative;
9+
}
10+
.section .section-title {
11+
color: #FFFFFF;
12+
font-weight: 100;
13+
font-size: 30px;
14+
line-height: 2;
15+
text-align: center;
16+
}
17+
/* section main start */
18+
section.main {
19+
20+
background-color: rgb(27, 188, 155);
1021
padding: 0 10px;
1122
}
1223
.main path {
@@ -37,6 +48,53 @@ section.main {
3748
top:40%;
3849

3950
}
51+
/* section main end */
52+
53+
54+
/* section intro start */
55+
.intro {
56+
background-color: #38A6F1;
57+
}
58+
.intro .intro-main {
59+
width: 1000px;
60+
margin: 10px auto 0;
61+
}
62+
.intro .member-header-list {
63+
display: flex;
64+
-webkit-display: flex;
65+
}
66+
.mhl-item {
67+
flex-grow: 1;
68+
margin: 0 40px;
69+
border-radius: 50%;
70+
overflow: hidden;
71+
transition: transform .2s ease-in-out;
72+
}
73+
.mhl-item:hover {
74+
transform: scale(1.1);
75+
}
76+
.mhl-item > a {
77+
display: block;
78+
padding-bottom: 100%;
79+
background: #FFFFFF
80+
}
81+
82+
.intro .member-content-list {
83+
position: relative;
84+
height: 360px;
85+
margin: 35px auto 0;
86+
}
87+
.mcl-item {
88+
position: absolute;
89+
left: 0;
90+
top: 0;
91+
height: 360px;
92+
width: 1000px;
93+
background: #FFFFFF;
94+
border-radius: 10px;
95+
}
96+
/* section intro end */
97+
4098

4199
/* animation hhere */
42100

‎public/html/index.html‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,26 @@
9494
</div>
9595
<p class="main-team-word"><i>Established By 5 Front-End Web Developers</i></p>
9696
</section>
97+
<section class="section intro">
98+
<h3 class="section-title">团队成员</h3>
99+
<div class="intro-main">
100+
<ul class="member-header-list">
101+
<li class="mhl-item"><a href="#"></a></li>
102+
<li class="mhl-item"><a href="#"></a></li>
103+
<li class="mhl-item"><a href="#"></a></li>
104+
<li class="mhl-item"><a href="#"></a></li>
105+
<li class="mhl-item"><a href="#"></a></li>
106+
</ul>
107+
<ul class="member-content-list">
108+
<li class="mcl-item">
109+
</li>
110+
<li class="mcl-item"></li>
111+
<li class="mcl-item"></li>
112+
<li class="mcl-item"></li>
113+
<li class="mcl-item"></li>
114+
</ul>
115+
</div>
116+
</section>
97117
</div>
98118
</body>
99119
</html>

0 commit comments

Comments
 (0)