input[type='file']{
 display: none;
}

.custom-file-upload {
  border: 1px soild #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
 }
  • now add class .custom-file-upload class to your label which attach to input type file.