Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change banner style and team pic #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions resources/css/homing.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ dd span {
.wrapper {
display : block;
position : relative;
width : 1130px;
margin-left : auto;
margin-right : auto;
width : 100%;
}

.wrapper:before,
Expand Down Expand Up @@ -175,7 +173,6 @@ dd span {
#banner {
background : #D8DBE3;
margin-top : 60px;
height : 515px;
}

#banner .unslider-arrow {
Expand All @@ -189,30 +186,40 @@ dd span {
}

#banner .unslider-arrow.prev {
left : -35px;
left : 10px;
background-image : url('../images/inc_left.png');
}

#banner .unslider-arrow.next {
right : -35px;
right : 10px;
background-image : url('../images/inc_right.png');

}

#banner .slider {
position : relative;
overflow : auto;
width: 100%!important;
height: 100%!important;
}

#banner .slider ul {
height: 100%;
}

#banner .slider ul li {
float : left;
width : 25%!important;
}

#banner .dots {
display : block;
position : relative;
text-align : center;
top : -100px;
display: block;
text-align: center;
top: auto;
position: absolute;
bottom: 100px;
width: 100%;

}

#banner .dot {
Expand Down
26 changes: 15 additions & 11 deletions resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<div class="wrapper">
<div class="slider">
<ul>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/0.jpg" width="1130" height="515"></li>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/1.jpg" width="1130" height="515"></li>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/2.jpg" width="1130" height="515"></li>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/3.jpg" width="1130" height="515"></li>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/0.jpg" width="100%" height="100%"></li>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/1.jpg" width="100%" height="100%"></li>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/2.jpg" width="100%" height="100%"></li>
<li><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/banner/3.jpg" width="100%" height="100%"></li>
</ul>
</div>
<a href="#" class="unslider-arrow prev">Previous slide</a>
Expand Down Expand Up @@ -98,27 +98,31 @@ <h1>运营团队</h1>
</dl>
<dl>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g2.jpg" width="220" height="245" alt="八月"></dt>
<dd>Branson <span>General Director</span></dd>
<dd>Branson王富帧 <span>General Director</span></dd>
</dl>
<dl>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g3.jpg" width="220" height="245" alt="八月"></dt>
<dd>Gladys Liu <span>Operator</span></dd>
</dl>
<dl>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g4.jpg" width="220" height="245" alt="八月"></dt>
<dd>Sam <span>Designer</span></dd>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g4_1.jpg" width="220" height="245" alt="八月"></dt>
<dd>Johnson闪 <span>Designer</span></dd>
</dl>
<dl>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g5.jpg" width="220" height="245" alt="八月"></dt>
<dd>Nicole <span>Planner</span></dd>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g5_1.jpg" width="220" height="245" alt="八月"></dt>
<dd>汪媛颖 <span>Planner</span></dd>
</dl>
<dl>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g6.jpg" width="220" height="245" alt="八月"></dt>
<dd>KG <span>Product Manager</span></dd>
</dl>
<dl>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g7.jpg" width="220" height="245" alt="八月"></dt>
<dd>Ken <span>Planner</span></dd>
<dt><img src="//7xjkae.com1.z0.glb.clouddn.com/images/team/g8.jpg" width="220" height="245" alt="八月"></dt>
<dd>Poiyuan <span>Media Operator</span></dd>
</dl>
<dl>
<dt><img src="//7xj5ab.com1.z0.glb.clouddn.com/images/team/g7_1.jpg" width="220" height="245" alt="八月"></dt>
<dd>绯蓝 <span>Planning</span></dd>
</dl>
</div>
</div>
Expand Down