gpt4 book ai didi

javascript - 移除 HTML5 输入类型 ="time"出现的箭头

转载 作者:搜寻专家 更新时间:2023-10-31 22:18:06 25 4
gpt4 key购买 nike

我使用的是默认的 HTML5示例代码行:我使用了自定义背景。我想删除右侧出现的黑色箭头。

The image shows a black arrow that appears. Need it remove it. I tried many css tricks but didn't work.

示例代码

最佳答案

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
margin: 0;
}

/* Hide the cancel button */
::-webkit-search-cancel-button {
-webkit-appearance: none;
}

/* Hide the magnifying glass */
::-webkit-search-results-button {
-webkit-appearance: none;
}

/* Remove the rounded corners */
input[type=search] {
-webkit-appearance: none;
}

关于javascript - 移除 HTML5 输入类型 ="time"出现的箭头,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43246294/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com