Well, I have the following situation:
<div class="corpo">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
This div block is randomly generated and I can not add anything else to it. I want to find a way to know what the "middle" item is, with javascript or css. Type in the middle I want an orange border and on both sides I want a green border. Does anyone have a solution?