导航栏高度更改 [英] Navbar height changing

查看:118
本文介绍了导航栏高度更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Bootstrap的开始示例中,当我缩小浏览器的宽度时,导航栏突然变高(随着菜单选项进入下拉按钮).有什么办法可以控制吗?

In the start sample for Bootstrap, as I shrink the width of the browser, the navbar suddenly becomes taller (as the menu options go into the dropdown button). Is there any way to control this?

推荐答案

Bootstrap通过CSS Media Queries处理浏览器宽度的变化.您可以通过为导航栏创建自己的CSS并将其包括在引导程序之一之后来覆盖它们.

Bootstrap handles browser width changes through CSS Media Queries. You can override them by creating your own CSS for the navbar and including it after the bootstrap one, for example.

这篇关于导航栏高度更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆