<h1>Intestazione SVG</h1>
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
    <polygon fill="white" points="0,100 100,0 100,100"/>

  <h2>Sottotitolo sezione</h2>
header {
  position: relative;
  height: 300px;
  background-image: linear-gradient(#7893e6, #314da3);

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

header h1 {
  color: white;

svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 10vw;
  /* set height to pixels if you want angle to change with screen width */

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.