#gradient { background: #0068a9; background: -webkit-linear-gradient(rgba(0, 104, 169, 1), rgba(0, 104, 169, .9)); background: -o-linear-gradient(rgba(0, 104, 169, 1), rgba(0, 104, 169, .9)); background: -moz-linear-gradient(rgba(0, 104, 169, 1), rgba(0, 104, 169, .9)); background: linear-gradient(rgba(0, 104, 169, 1), rgba(0, 104, 169, .9)); width: 100%; height: 300px; min-height: 0px; display: block; } #gradient::before, #gradient::after { display: block; content: ""; width: 100%; height: 75px; } #gradient::before { background: #f2f2f2 url("http://www.qumidesignco.com/clients/preparedcapital/pc_topcurve.png") center top; } #gradient::after { background: #f2f2f2 url("http://www.qumidesignco.com/clients/preparedcapital/pc_bottomcurve.png") center top; }
<div style="background:#f2f2f2; width: 100%; height: 300px; min-height: 0px; display:block;"></div> <div id="gradient"></div> <div style="background:#f2f2f2; width: 100%; height: 300px; min-height: 0px; display:block;"></div>