Is there a way to align a column of divs like the image shown below, with two separate divs on either side of the main column?
Here is what I currently have:
<div id="waterfall">
<div class="fall" id="water1">Defaulter’s Initial Margin</div>
<div class="fall" id="water2">Defaulter’s Guaranty Fund Contribution</div>
<div class="fall" id="water3">Clearing House Contribution $20 Million</div>
<div class="fall" id="water4">Guaranty Fund<br>Total Value XX Million</div>
<div class="fall" id="water5">Unfunded contributions - assessment</div>
<div class="fall" id="water6">Service Continuity Phase</div>
<div class="fall" id="water7">Service Closure</div>
</div>
And here is my CSS code:
.fall {
overflow:hidden;
margin: 0 auto 10px;
color:white;
text-align:center;
width: 33%;
padding: 10px;
text-transform:uppercase;
}
#water2:after {
border-top: 80px solid #0099CC;
border-left: 60px solid transparent;
border-right: 60px solid transparent;
bottom: 0px;
content: "";
position: absolute;
left: 45%;
margin-left: -21px;
width: 0;
height: 0;
}
#water1 {background-color:#686868;}
#water2 {background-color:#797979;}
#water3 {background-color:#828282;}
#water4 {background-color:#8B8B8B;}
#water5 {background-color:#949494;}
#water6 {background-color:#9D9D9D;}
#water7 {background-color:#AFAFAF;}
Any help or guidance would be greatly appreciated. Thank you.