Converting partial files to standalone style sheets
Remember that it's also
easy to create a standalone file from an existing partial file. Just omit the leading underscore from the filename. So a file called _navigation.scss could be renamed navigation.scss and this would compile to navigation.css (if the file is still within a folder named partials, it will also be generated within the CSS folder in a
subfolder called partials).
Note
There have been whispers in dark corridors (alright, not really, just on GitHub) that the possibility may exist in future versions of Sass to target particular styles to particular style sheets. Those curious may wish to read the following threads: https://github.com/nex3/sass/issues/241 and https://github.com/chriseppstein/compass/issues/664 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access