if your element has only background color, you can use pseudo-elements and window shadow.
a shadow shadow on pseudo-elements can fill an element. Examples: http://codepen.io/gcyrillus/pen/hlAxo , http://codepen.io/gc-nomade/pen/dtnIv , http://codepen.io/gcyrillus/pen/yJfjl .
adding a linear gradient, you can draw a field similar to what you are looking for, which can grow any height: http://codepen.io/anon/pen/cIxwD .
div { width:800px; margin:auto; position:relative; overflow:hidden; min-height:2000px; background:linear-gradient(to bottom, rgba(255,255,255,0) 0, rgba(255,255,255,0) 100px, orange 100px, orange ); } div:before, div:after { content:''; position:absolute; top:0; height:30px; width:60px; box-shadow: 0 0 0 500px orange; border-radius:0 0 0.5em 0; } div:after { right:0; border-radius: 0 0 0 0.5em; }
G-cyr source share