Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #put #circle #input
ADD COMMENT
Topic
Name
6+6 =