Looking to center a component inside another component. I have a div with two components - the main one and a banner that I want to display in the center of the main component. Check out my issue on this jsfiddle:
https://jsfiddle.net/CanadianDevGuy/vjb4k9un/38/
<div id="app">
<first></first>
<second></second>
</div>
Picture showing current layout
The main div with white border needs to align exactly with the first component (black one) without any space at the bottom.
I also added 'display: relative' because I need the red component to follow the black one while remaining centered.