Try CSS


Pick up!
clip-path: polygon(0 0, 100% 0, 100% 100%);
.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #e3c95d;
  width: 8rem;
  height: 6rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  text-align: right;
}