@include prefix(auto-width-input) {
  position: relative;
  max-width: 100%;
  overflow: hidden;

  span {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    max-width: 100%;
  }
  input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
  }
}
