JSFiddle - React, Tailwind, and code Playground
HTML
<div class="image">
<img src=... />
<img src= .../>
</div>
CSS
.image img:first-child
{
height:500px;
width:200px;
border:15px solid Red;
}
<div class="image">
<img src=... />
<img src= .../>
</div>
.image img:first-child
{
height:500px;
width:200px;
border:15px solid Red;
}