JSFiddle - React, Tailwind, and code Playground

HTML

<label class="singleSelect" tabindex="1">


  <div class="SselctBx"><span class="one"></span>Texte</div>
</label>
<label class="singleSelect" tabindex="1">


  <div class="SselctBx"><span class="one"></span>Texte</div>
</label>
<label class="singleSelect" tabindex="1">


  <div class="SselctBx"><span class="one"></span>Texte</div>
</label>

CSS

.singleSelect {
  display: inline-block;
  width: 50%;
  margin: 15px 0;
}

label {
  display: inline-block;
  width: 100%;
}

:focus {
  outline: none;
}

:focus .SselctBx {
  background: rgba(255, 255, 255, 0.25);
}

.SselctBx {
  border: 1px solid #1a555c;
  background: rgba(0, 0, 0, 0.1);
  height: 30px;
  padding: 10px;
  position: relative;
}

:focus .SselctBx .one {
  background: green;
  border-radius: 50%;
  height: 25px;
  width: 25px;
  position: absolute;
  top: -6px;
  right: -6px;
}

:focus .SselctBx .one::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  -o-transform: translate(-50%, -50%) rotate(-45deg);
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
}