My goal is to create a green rectangle on top of a red rectangle, positioned lower than the height of the containing DIV and ending before the red rectangle.
View the illustration here:
https://i.sstatic.net/IoxFs.png
#div_1{
width: 200px;
min-height: 35px;
background:linear-gradient(to top, red 10%, transparent 10%), linear-gradient(90deg, blue 0% 10%,
red 10% 15%,green 15% 80%,red 80% 85%
,blue 85% 100%);
}
<div id ="div_1"></div>