0

I'm trying to include Bootstrap in an SCSS style sheet, as per Import bootstrap in scss project + grunt + css compile load time

The style-sheet starts with

@import "boostrap.css";

(I copied the file bootsrap.css to the same directory.)

Then, from the shell command-line, I type:

scss style.css.scss

The output of this first line is

@import url(bootstrap.css)

Shouldn't the preprocessor have have compiled boostrap.css into the output?

amphetamachine
  • 27,620
  • 12
  • 60
  • 72
Lawrence I. Siden
  • 9,191
  • 10
  • 43
  • 56
  • 1
    possible duplicate of [Import regular css file in scss file?](http://stackoverflow.com/questions/7111610/import-regular-css-file-in-scss-file) – cimmanon Feb 24 '15 at 22:21
  • You are right. Thank you! I'll leave it up in case it helps someone else because I don't think that trying this from a command-line is a common case. – Lawrence I. Siden Feb 24 '15 at 22:37
  • Why you don't use the bootstrap sass? https://github.com/twbs/bootstrap-sass – Lucas Barros Feb 25 '15 at 01:02
  • It's not a Rails app. Just a static mockup. But I wanted to do the stylesheet with SASS and Bootstrap b/c I'm spoiled. :) – Lawrence I. Siden Feb 25 '15 at 15:34

0 Answers0