JSFiddle - React, Tailwind, and code Playground

by aflynt

HTML

<div id="box"></div>

CSS

#box {
    width: 10em;
    height: 6em;
    border: 4px solid #ccc;
    background-color: #fff;
    position: relative;
}

#box::before,
#box::after {
    content: '+';
    position: absolute;
    top: 0;
    right: 0;
    border-color: transparent;
    border-style: solid;
}

#box::before {
  content:"+";
    border-width: 0.5em;
    border-right-color: #ccc;
    border-top-color: #ccc;
}

#box::after {
  
    border-radius: 0.4em;
    border-width: 1.35em;
    border-right-color: #0c0;
    border-top-color: #0c0;
   
}

.plus-sign {
  position:relative;
  right:0px;
  top:0px;
  }