Answers for "how to put a circle in input"

0

how to put a circle in input

div {
  position: relative;
}
div:before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparant;
  transform: translateY(-50%);
}
div.active:before {
  background: green;
}
Posted by: Guest on June-27-2021

Code answers related to "how to put a circle in input"

Browse Popular Code Answers by Language