問題タブ [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.
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
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:generate
vendor.css
vendor.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 を送信していません。
出力は次のとおりです。
twitter-bootstrap - Bootstrap 4レスポンシブナビゲーションバー垂直
Bootstrap 4 を使用しており、ページに水平方向の項目を含むナビゲーションがあります。小さいデバイスでは、このメニューは折りたたまれ、メニュー項目はまだ水平に並んでいます。アイテムが各行に1つになるように縦に変更するにはどうすればよいですか?