JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" placeholder="Поиск">
<div>
  Hello
</div>

CSS

input {
  position: relative;
  font-size 20px;
  line-height: 20px;
  margin: 50px 50px;
  padding: 5px 5px;
  padding-left: 30px;
}



input::before {
  content: "+";
  position absolute;
  dislplay: block;
  width: 30px;
  height: 30px;
  left: 0px;
  top: 0px;
}

div::before {
  content: "+-+";
  position absolute;
  left: 0px;
  top: 0px;
}