更改html中输入日期的宽度,因为当我将width设置为100%时,它不会改变

问题描述 投票:-1回答:1

如何更改日期输入的宽度?我将输入设置为100%,但这不会更改日期宽度。

html css date width
1个回答
0
投票

#first{
  
  width:100%;
}
<!DOCTYPE>
<HTML>
<HEAD>
<style>

</style>
</HEAD>
<BODY>
<input type="date" id="first">
<input type="date" id="second">
</BODY>
</HTML>
© www.soinside.com 2019 - 2024. All rights reserved.