JSFiddle - React, Tailwind, and code Playground

by Sascha

HTML

<span class="plus"></span>

CSS

body {
  background: white;
}

.plus {
  height: 24px;
  width: 24px;
  display: inline-block;
  background-color: black;
  color: white;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
  font-weight: bold;
}

.plus::before {
  content: "+";
}