<h1>Header Content</h1>
  <img src="https://assets.codepen.io/t-517/divider-triangle.png" class="divider" />

  <h1>Section Content</h1>
header {
  position: relative;
  height: 300px;
  background-image: linear-gradient(#ff9d2f, #ff6126);

h1 {
  margin: 0;
  padding: 100px 0;
  font: 44px "Arial";
  text-align: center;

header h1 {
  color: white;

.divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  /* drop the height to have a constant angle for all screen widths */

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.