Good day. There was a question at layout layout. There are two divs with different backgrounds. In the layout, one of the sections "runs over" the other (picture in the attachment). The question is, how do I put them on top of each other? What would the "corner" of the top hit the bottom background? thank 
.about { height: 392px; width: 100%; background: #fff url("../img/about_bg.png") no-repeat 50% 100%; text-align: center; .benefits { height: 554px; background: #0099cc url("../img/benefits_bg.jpg") no-repeat 50% 100%; } I tried to do this with the help of z-index, but the bottom background was cut off on the "edge" of the top.
margin-topfor the bottom layer or set the bottom layerposition: relative; top: -20px;position: relative; top: -20px;and do not forget to registerz-indexfor layers. - Dmitriy Kondratiuk