I have created a <ul> list with 3 <li> inside them. But I want each <li> to have different margin-top. But whenever I am applying margin to seperate <li> by giving different class names also, still all the <li> comes down by that margin and not that specific <li>. I changed the margin-left property of each <li> by selecting them with the class name and that works but margin-top is not working. Can someone please help me how to achieve it? Below is my code.
.person-rating li{
list-style: none;
display: inline-block;
width: 25%;
border: 1px solid rgb(104, 69, 104);
background-color: rgb(104, 69, 104);
padding: 30px;
border-radius: 8px;
<div class="person-rating">
<ul>
<li class="new-1">
<img src="images/image-anne.jpg">
<h4>Colton Smith <br>
Verified Buyer<br></h4>
<p>"We needed the same printed design as the one we had ordered a week prior.
Not only did they find the original order, but we also received it in time.
Excellent!"</p>
</li>
<li class="new-2">
<img src="images/image-colton.jpg">
<h4>Irene Roberts <br>
Verified Buyer<br></h4>
<p>"Customer service is always excellent and very quick turn around. Completely
delighted with the simplicity of the purchase and the speed of delivery."</p>
</li>
<li class="new-3">
<img src="images/image-irene.jpg">
<h4>Anne Wallace <br>
Verified Buyer<br></h4>
<p>"Put an order with this company and can only praise them for the very high
standard. Will definitely use them again and recommend them to everyone!"</p>
</li>
</ul>
</div>