扫码关注官方订阅号
人生最曼妙的风景,竟是内心的淡定与从容!
这个问题已经解决。结构变成了p>input+span把p设置relative z1
input { appearance:none; left:0; top:0; right:0; bottom:0; padding:0; border:0; margin:0; background-color:transparent; z-index:10; width: 100%; height: 100%; }
最后通过before after伪类使用图片做好了。
样式上加这条可以解决:
label > * { pointer-events: none; }
不要问我为什么,我也不懂,实在要追究的话自己看原文https://github.com/ftlabs/fas...
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
这个问题已经解决。
结构变成了
p>input+span
把p设置relative z1
最后通过before after伪类使用图片做好了。
样式上加这条可以解决:
不要问我为什么,我也不懂,实在要追究的话自己看原文
https://github.com/ftlabs/fas...