我需要切断输入下拉背景颜色透明
background-image: -webkit-radial-gradient(
11% -16%,
circle closest-corner,
rgba(0, 0, 0, 0) 0,
rgba(0, 0, 0, 0) 96px,
#efefef 74px,
#fff 48px
);
这是我当前的代码。我想剪掉这个下拉菜单,剪掉这个背景应该是透明的。
background-image: -webkit-radial-gradient(
11% -16%,
circle closest-corner,
rgba(0, 0, 0, 0) 0,
rgba(0, 0, 0, 0) 96px,
#efefef 74px,
#fff 48px
);
this is my current code. I want to cut off this dropdown , cut off this bg should be transparent.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要制作下拉列表,您必须使用元素,因为标签用于文本、电子邮件、电话、按钮、日期等。
为此,请使用“背景图像:线性渐变(向右,rgba(255,0,0, 0), rgba(255,0,0,1));
输出从左侧将是透明的,如果您希望右侧也透明,请使用 rgba (255,0,0,0) 也可以执行相同的操作中间也
谢谢。
To make dropdown list you must have to use element as tag is used for text, email, tel, button, date, etc.
For this use "background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
output will be transparent from left side and if you wants transparent at right side as well use rgba (255,0,0,0) also you can do the same for middle part as well.
Thanks.