title: Why this Custom Input file is not working in Edge?
body: <p>Hell, I am building a customized input file, it's working on Chrome, FF, Safari, but not on Edge, any idea?</p>
  
  <p>Here's my demo. Please open it on Chrome then on Edge to understand the issue: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>/* /////////////////Custom Upload input///////////// */
  
  .custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
    -webkit-appearance: none;
  }
  
  .custom-file-input::-ms-file-upload-button {
    visibility: hidden;
    -ms-appearance: none;
  }
  
  .custom-file-input::before {
    content: 'Attach';
    display: inline-block;
    background-color: #c6c6c6;
    border: none;
    width: 50px;
    font-family: Roboto, sans-serif, FontAwesome;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    cursor: pointer;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
  }
  
  .custom-file-input:hover::before {
    border-color: black;
  }
  
  .custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input class="custom-file-input" type="file"&gt;</code></pre>
  </div>
  </div>
  </p>