O'Reilly logo

Bootstrap 4 Cookbook by Ajdin Imsirovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

  1. In www.root/lib/bootstrap/scss, copy the bootstrap.scss and _variables.scss files.
  2. In Solution Explorer, right-click on www.root and click on; Add > New Folder.
  3. Right-click on New Folder and click on Rename. Type sass as the new name for the folder.
  4. Paste in the files copied in step 1, into the sass folder made in step 3.
  5. Open the sass/bootstrap.scss file and press Ctrl + H. Type @import into the first input field (this is the find input).
  6. Click on the second input field (this is the replace input).

Type in the following into the second input field:

@import "../lib/bootstrap/scss/
  1. Press Alt + A to replace all. Once Visual Studio completes the command, it will inform you of it by showing a popup with the 36 occurence(s) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required