Hi I'm struggling to target this class and I have no idea why. It seems that the first div interferes with the pseudo selector on the second div.
HTML
<div class="home-work">
<div class="home-work-header"><h3><span>test</span></h3></div>
<div class="home-work-container"><p>test</p></div>
<div class="home-work-container"></div>
<div class="home-work-container"></div>
</div>
CSS
.home-work-container {
width:100%;
margin:10px 20px;
background-color:grey;
height:250px;
&:first-of-type {padding:144px;}
}
https://jsfiddle.net/L0uoz531/
Thanks in advance