Building a Card Stack : <p>I am developing an app that is centered around a card stack.  I am struggling to find a way to implement this particular stack (the stacking itself is a problem e.g. being able to swipe through each card) but I am mainly trying to figure out how to style the card so that only parts of it is colored (the yellow being kept at the top and bottom).  Any direction on how to implement this style would be appreciated! </p>

<p><a href="https://i.stack.imgur.com/K364J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K364J.png" alt="enter image description here"></a></p>
