fix materialize form label not working

75

  <form action="#">
    <div class="file-field input-field">
      <div class="btn">
        <span>File</span>
        <input type="file">
      </div>
      <div class="file-path-wrapper">
        <input class="file-path validate" type="text">
      </div>
    </div>
  </form>
        
input:-webkit-autofill + label {
  font-size: 0.8rem;
  transform: translateY(-140%); }

Comments

Submit
0 Comments