This tutorial covers basic of partials with examples in SassScript..
if you maintain the styles in single file, and project grows and multiple people are working on it, style code is difficult to maintain it . Because of this problem, styles are grouped into a in separate files with partial feature. partials are part or block of styles that are placed in separate files, can be reused across projects.
partials in sass are defined with filename started with underscore ie._filename.scss or filename. sass. These files are imported by different styles. The reason to put underscore is that this is partial file and not compiled into css styles
|– main.scss |– _variables.scss
advantages of partials
Code is clean