0

enter image description here

I used :before, but I am thinking need to exist a better method for this

    .btn-custom-search:before {
    content: ' ';
    background-color: white;
    position: absolute;
    z-index: 1;
    left: -15px;
    top: 0px;
    height: 54px;
    width: 31px;
    border-radius: 50%;
}
caramba
  • 21,963
  • 19
  • 86
  • 127
  • you just need to create 2 layer, one in background that goes also behind the white one, and than apply a background white to the one on the top layer – Alberto Sinigaglia Feb 23 '20 at 21:38
  • 1
    Why not just add the border-radius to the input field, and display it above the button? – fubar Feb 23 '20 at 21:43

0 Answers0