.diamond {
  inline-size: 5rem;
  block-size: 5rem;
  background-color: royalblue;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
