.diagonal-line {
  background-image: linear-gradient(to top right,
      white 49%,
      black,
      white 51%);
}