// You may now add and edit sass stylesheets in the sass subdirectory of your project. // 你现在可以在sass文件的子文件中(screen.scss/print.scss/ie.scss)添加和编辑项目的样式表;
// Sass files beginning with an underscore are called partials and won't be compiled to CSS, but they can be imported into other sass stylesheets. // Sass文件以"_"开头的叫做局部文件,不会被编译成CSS;但它们可以被引入到其他Sass文件中;
// You can configure your project by editing the config.rb configuration file. // 你可以通过编辑config.rb配置文件来配置项目信息;
// You must compile your sass stylesheets into CSS when they change. // 当Sass文件被修改后,必须要编译Sass文件到CSS;
// 1. To compile on demand: // 直接编译; // $ compass compile [path/to/project] // 2. To monitor your project for changes and automatically recompile: // $ compass watch [path/to/project] // 监听项目变化并且自动编译;
// To import your new stylesheets add the following lines of HTML (or equivalent) to your webpage: // <head> // <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> // <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" /> // <!--[if IE]> // <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" /> // <![endif]--> // </head> // 将编译后的文件引入到HTML页面中;