Edit in JSFiddle

.ribbon {
  background-color: #5BC8F7;
  border-style: solid;
}

.ribbon::after {
  content: "Look at this orange box.";
  background-color: #FFBA10;
  border-color: black;
  border-style: dotted;
}