Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在使用 bootstrap2,在单个按钮组中,该组仅在 safari 浏览器中被破坏,按钮组之间存在间隙,请参阅附图,请检查并重播。
谢谢。
http://getbootstrap.com/2.3.2/components.html
它是由字体大小引起的。Windows 中的 Safari 不允许将 0 作为值。一种解决方法是使用 0.1px,这将使它看起来更好但并不完美
另一种选择是不在 HTML 中留下空白,但这会降低代码的可读性