从输入中删除“选择文件”

时间:2019-08-01 19:58:43

标签: html css

我不知道如何从输入按钮中删除“选择文件”。我只希望用户能够通过单击图像直接拖动或上传文件。这是我到目前为止的内容:here

<div class="popup-wrapper popup-wrapper-3">
  <div class="popup">
    <div class="popup-close">x</div>
    <div class="popup-content">
      <h2>Upload Your Resume</h2>
      <p class="small-text">Upload your resume to complete the job application
      </p>
      <p class="sub">
        <label>Resume:</label>
        <input accept=".doc, .docx, .pdf" type="file" display="none" placeholder="" name="resume">
        <img src="../images/search/apply.gif">
        <p class="small-text">Click to browse the file
        </p>
        <button class="button vlose-button" type="button">Apply Now</button>
      </p>
    </div>
  </div>
</div>

1 个答案:

答案 0 :(得分:0)

欢迎光临! 您是否尝试过使用其他浏览器? FireFox不显示该消息。

另一件事(可能更重要)是use, intrinsic :: ISO_FORTRAN_ENV Integer, Parameter :: wp = real64 Real( wp ) :: a = 5.0_wp 没有占位符属性,也没有“显示”属性。 如果要使用自定义属性,则应使用data-*结构。 如果要设置样式(即隐藏输入),则应使用CSS进行设置。

您可以了解有关此here的更多信息。

希望您能朝正确的方向前进,祝您好运!

相关问题