SCSS Partials

SCSS Partial is used to help keep things easier to maintain because all the SCSS files can be divided into various SCSS file according to the name like header, footer, reset etc. You might need to name it using underscore to create partial like _header.scss, _footer.scss etc. The underscore lets SCSS know that the file is only a partial file and it should not be generated into CSS file. This is later used with '@import' directive.

Share this

Related Posts