HighLab

bootstrapから一部だけダウンロード

  • 公開日:
  • 更新日:
  • 文字数:466文字

公式サイト
https://getbootstrap.com/docs/3.4/customize/

ダウンロード後

bootstrap-theme.css、bootstrap.cssがあるので、読み込みますが、sassを使っている場合は無理やりscssに変更します。
フォルダーにbootstrapを作成し、その配下にcssをscssに変更し、頭にアンダーバーをつけます。
_bootstrap-theme.scss、_bootstrap.scss
mainのファイルに
@importしてあげましょう。

bootstrapのbutton使い方

buttonのclassにbtnを付与
参考元
https://mndangler.net/2017/03/bootstrap_bottun_only/

bootstrapのformの使い方

<div class="form-group">
    <input type="text" class="form-control">
  </div>