Sha256: 27c1e3594e40094f3fc14c0165f11c67633fe221335fe049dab0154690cc5043
Contents?: true
Size: 1.34 KB
Versions: 112
Compression:
Stored size: 1.34 KB
Contents
When no framework is specified, a new compass project is set up with three stylesheets: * screen.sass * print.sass * ie.sass It is expected that you will link your html to these like so: <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> You don't have to use these three stylesheets, they are just a recommendation. You can rename them, make new stylesheets, and delete them. Compass will happily compile whatever sass files you place into your project. Any folders you create in your source directory with sass files in them will be folders that get created with css files in them when compiled. Sass files beginning with an underscore are called partials, they are not directly compiled to their own css file. You can use these partials by importing them into other stylesheets. This is useful for keeping your stylesheets small and manageable and single-focused. It is common to create a file called _base.sass at the top level of your stylesheets and to import this to set up project-wide constants and mixins.
Version data entries
112 entries across 110 versions & 11 rubygems