如何在HTML彩色选择器中删除或隐藏一些部分

发布于 2025-01-30 14:04:14 字数 264 浏览 3 评论 0原文

我想隐藏或删除HTML彩色选择器中的两个绿色部分。 我搜索了很多,但没有找到任何有用的帖子。

有可能这样做吗?

提前致谢。

I want to hide or remove the two green sections in the HTML color picker.
I searched a lot but I did not find any useful posts.

HTML color pciker

Is it possible to do that?

thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

榆西 2025-02-06 14:04:14

您要做的事情将不起作用。您将需要使用JavaScript框架或库为此。默认输入['color']是本地的,您无法更改选择器的样式。

尝试类似 tinycolorpicker

What your are trying to do will not work. You will need to use a JavaScript Framework or Library for that. The default input['color'] is native and you cant change the style of the picker.

Try something like TinyColorPicker

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文