JSFiddle - React, Tailwind, and code Playground

HTML

<nav>
  <button class="gratis">baihoh</button>
</nav>

CSS

.gratis {
  border: 0;
  height: 50px;
  width: 150px;
  position: relative;
  margin-top: 10px;
  background: orange;
}

.gratis::after {
  content: '';
  background: url(http://beautydiscover.nl/wp-content/themes/wm4/includes/wm4optin/img/red-ribbon-gratis.png) no-repeat;
  background-size: contain;
  height: 50px;
  width: 50px;
  position: absolute;
  top: -4px;
  right: -4px
}