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.
即使在应用大填充后,如何给按钮或标签提供固定的宽度和高度。
我试过了box-sizing:content-box。但它不工作。
box-sizing:content-box
示例代码
提前致谢。
你不是在寻找box-sizing: border-box吗?
box-sizing: border-box
我想你是。