問題タブ [twitter-bootstrap-4]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
10 に答える
43596 参照

css - Re-color Tooltip in Bootstrap 4

I'm trying to re-skin/re-format a tooltip in Bootstrap 4, and the original way of doing it doesn't seem to work anymore. Currently I am doing this:

.tooltip-inner is working fine, but .tooltip.top .tooltip-arrow isn't; it stays black. I am assuming .tooltip.top is the arrow on top of a bottom aligned tooltip.

Any help would be greatly appreciated

0 投票する
1 に答える
24046 参照

html - HTML5 セクションを含む Bootstrap Grid と Aside

私はBootstrap 4 グリッド システムを使用しており、画面の右側に横にフロートさせたいと考えています。

現在、私のMAINコンテンツはcol-xl-3でラップされています。ASIDEにもcol-xl-3を使用させたいのですが、行の高さだけでなく、ページの高さを実行したいのです。現在、行の高さを押し出しています...

画像からわかるように、私のわきは上段を下段よりも高く押し上げています...

ここに画像の説明を入力

私がコードに関して行ったのはこれだけです。

どんな助けでも大歓迎です。

0 投票する
1 に答える
4739 参照

sass - ブランチとサスブランチを取得してbootstrap.scssをコンパイル/インクルードするには?

私はブランチを初めて使用しますが、sass-branch と bootstrap-4.0.0-alpha.2 を npm でインストールされたモジュールとして設定しようとすると、bootstrap.scss を含めることができません。私が間違っていることについてのアイデアはありますか?

ここに小さなサンプル プロジェクトがあります。

私のpackage.json:

私のブランチ-config.js:

からの出力brunch build -dは以下のとおりです。sass-brunch正常に処理に使用されていますapp/styles/main.scss-brunch:pipelineそれを示す行があります。ただし、上部近くの数行は、ブートbootstrap.scssストラップの.マップのみが含まれています。brunch:generatevendor.cssvendor.css.map/*# sourceMappingURL=vendor.css.map*/{"version":3,"sources":[],"names":[],"mappings":"","file":"public/vendor.css"}

私が試したことはうまくいきませんでした:

  • plugins.sass.options.includePaths: ['node_modules/bootstrap/scss']Brunch-config.js に設定を追加します。出力に変化はありません。

  • paths.watched: ['app', 'test', 'vendor', 'node_modules/bootstrap/scss']brunch-config.js に設定を追加- そのディレクトリ内のすべてのファイルを見つけて監視しているように見えますが、sass-brunch がクラックできる場所にブランチ パイプラインを介して bootstrap.scss を送信していません。

出力は次のとおりです。

0 投票する
2 に答える
10030 参照

twitter-bootstrap - Bootstrap 4レスポンシブナビゲーションバー垂直

Bootstrap 4 を使用しており、ページに水平方向の項目を含むナビゲーションがあります。小さいデバイスでは、このメニューは折りたたまれ、メニュー項目はまだ水平に並んでいます。アイテムが各行に1つになるように縦に変更するにはどうすればよいですか?