Hi there,
it wouldn’t work with a background image but you can do this with CSS:
.angled-section {
position: relative;
z-index: 1;
overflow: hidden;
}
.angled-section:before,
.angled-section:after {
background-color: #ffffff;
content: '';
display: block;
height: 20%;
position: absolute;
left: 0;
right: 0;
z-index: -1;
transform-origin: 0%;
}
.angled-section:before {
top: 0;
transform: skewY(-1.5deg);
}
.angled-section:after {
bottom: 0;
transform: skewY(1.5deg);
}
Give the Section a class angled-section