sass-css-importer

Import CSS files as SCSS

  • 所有者: chriseppstein/sass-css-importer
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Sass CSS Importer Plugin

The Sass CSS Importer allows you to import a CSS file into Sass.

Stylesheet Syntax

The .css extension triggers special behavior in Sass so you cannot
import a file with a CSS extension. To work around this, you must use a
special prefix on the import string and omit the extension.

@import "CSS:some_folder/some_css_file"

Installation

$ gem install --pre sass-css-importer

Use with the Sass command line

$ sass -r sass-css-importer --watch sass_dir:css_dir

Note: several -r options can be given to the sass command line if you
need to require several libraries.

Use with compass

Add the following to your compass configuration:

require 'sass-css-importer'

More complex scenarios

This plugin assumes you want to import CSS files relative to a Sass
file. More complex scenarios are acheivable by adding a CSS Importer to
the Sass load path option explicitly.

For example, in compass you can do the following in your config.rb
file:

require 'sass-css-importer'
add_import_path Sass::CssImporter::Importer.new("/path/to/the/css/files")

主要指標

概覽
名稱與所有者chriseppstein/sass-css-importer
主編程語言Ruby
編程語言Ruby (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2013-07-01 18:03:23
推送於2014-07-16 23:59:16
最后一次提交2014-07-16 16:58:42
發布數0
用户参与
星數199
關注者數8
派生數13
提交數7
已啟用問題?
問題數12
打開的問題數7
拉請求數2
打開的拉請求數1
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?