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.
ブラウザーでブートストラップ要素のサイズが変更されないようにするにはどうすればよいですか?
ブラウザの幅を変更すると、コンテナとナビゲーション バーは同じ幅のままですか?
私はたくさんグーグルで検索しましたが、答えが見つかりませんでした...
divブートストラップを使用して のクラスをcontainerサイズ変更から停止することについて話している場合は、を使用していないbootstrap-responsive.cssことを確認してください。これで問題が解決するはずです。
div
container
bootstrap-responsive.css
一般的に html 要素について話している場合は、各要素に css を追加する必要がありheightますwidth。
height
width
Bootstrap のレスポンシブ機能を無効にする必要があります。
http://getbootstrap.com/getting-started/#disable-responsive