input date控件点击区域
使用h5 的input date控件只能点击尾部的图标才能弹出时间选择器,需要点击前面的输入框也能弹出时间选择器
css样式如下:
input[type='date']{
position: relative;
}
input[type='date']::-webkit-calendar-picker-indicator {
position: absolute;
right: 0;
padding-left: calc(100% - 40px);
/*padding-right: 5px;*/
}