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.
问题 - 如何使右侧的列表按钮大小匹配(或仅填充导航栏)
我已将站点上传到此处,因此您可以看到代码。
网站。
(我删除了我之前的问题,因为它的措辞很糟糕,而且我没有要显示的代码,抱歉)
将此代码添加到您的 css 文件或内联块中
@media (min-width: 979px){ .navbar .nav li { line-height: 45px;} }