You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用position:absolute居中button的::before伪元素出现间隙问题求助

Firefox中Button伪元素Absolute居中微小间隙的解决办法

问题场景

通过position:absolute + left:50%/top:50% + translate(-50%,-50%)实现

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.09 18:55:12