I have this code in html
<div class="small_world_news">
<div class="small_world_news_article_box">
<div>
<img class="small_picture_world_news" src="http://placehold.it/100x100">
<h4 class="small_title_world_news"> Doors open to Japan's new 30B industry </h4>
<ul class="author_etc">
<li>December 14, 2016</li>
<li>
<div class="first">by</div>
<div class="blue">John Doe</div>
</li>
</ul>
</div>
<div>
<img class="small_picture_world_news" src="http://placehold.it/100x100">
<h4 class="small_title_world_news"> Doors open to Japan's new 30B industry </h4>
<ul class="author_etc">
<li>December 14, 2016</li>
<li>
<div class="first">by</div>
<div class="blue">John Doe</div>
</li>
</ul>
</div>
<div>
<img class="small_picture_world_news" src="http://placehold.it/100x100">
<h4 class="small_title_world_news"> Doors open to Japan's new 30B industry </h4>
<ul class="author_etc">
<li>December 14, 2016</li>
<li>
<div class="first">by</div>
<div class="blue">John Doe</div>
</li>
</ul>
</div>
</div>
</div>
And I need 20px
space between firstarticle-secondarticle and secondarticle-thirdarticle. Also I need 30px
space after last article. I know that I can make named divs, but I want to with child of class "small_world_news_Article_box".
But this code doesent work.
.small_world_news_article_box {
margin-bottom: 20px;
}
.small_world_news_article_box:last-child {
margin-bottom: 30px;
}