div {
  background: linear-gradient(135deg, red, blue);
  height: 3em;
  width: 100%;
}