我试图在我的代码的 .top_section 底部放置一个阴影。但是,我不能让它工作。我有两个部分(顶部和底部),阴影需要低于 .top_section
这是代码:
CSS:
.top_section {
background-image: url(../images/background.png);
background-repeat: no-repeat;
}
#boxShadow{box-shadow: 10px 10pxrgba(0, 0, 0, .4);}
.bottom_section {
background-image: url(../images/background.png);
}
HTML:
<div class="container-fluid top_section">
<div id="boxShadow">
<section>
<div class="row-fluid">
<div class="span4 offset4">
<br />
<img src="images/logo.png" width="400" height="400" image alt="image" />
</div>
</div>
<div class="row12">
<h3><p class="text-center">ANIMATOR & DIGITAL ILLUSTRATOR</p></h3>
<h4><p class="text-center">I'M MARK FROM SINGAPORE, I DESIGN & MAKE THINGS MOVE. </p></h4>
<h4><p class="text-center">I AM CURRENTLY FREELANCING AND STUDYING AT ANIMATION MENTOR.</p></h4>
<br />
<br />
</div>
<div class="row-fluid">
<ul class="thumbnails">
<li class="span1 offset4">
<a href="#" class="thumbnail">
<img src="images/MAIL_icon.png" width="50" height="50" image alt="image" />
</a>
</li>
<li class="span1">
<a href="#" class="thumbnail">
<img src="images/DRIBBBLE_icon.png" width="50" height="50" image alt="image" />
</a>
</li>
<li class="span1">
<a href="#" class="thumbnail">
<img src="images/TWITTER_icon.png" width="50" height="50" image alt="image" />
</a>
</li>
<li class="span1">
<a href="#" class="thumbnail">
<img src="images/INSTAGRAM_icon.png" width="50" height="50" image alt="image" />
</a>
</li>
</ul>
</div>
</section>
</div>
</div>
谢谢您的帮助。