簡體   English   中英

僅禁用日歷模式<input type = "date">

[英]Disable only calendar modal of <input type = "date">

如何僅停用單擊日歷圖標時出現的日歷模式,輸入日期類型

<input type="date">

在此處輸入圖片說明

應用以下樣式:

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
      display: none;
      -webkit-appearance: none;
  }

 input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-calendar-picker-indicator { display: none; -webkit-appearance: none; }
 <input type="date">

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM