2018.2

Table Of Contents
you to maintain a central file, from which you can quickly download a copy to your template
without having to copy & paste.
There are a few advantages to resources hosted on a CDN:
l These resources are not served by your server, saving on space, bandwidth and
processing.
l Using a popular CDN takes advantage of caching - a client having visited another
website using that same CDN will have the file in cache and not re-download it making
for faster load times for the client.
Tip
To refresh the remote resources in a Designer view, use the Refresh option in the menu (View >
Refresh) or the Refresh button at the top of the Workspace.
Using a Sass file
A CSS preprocessor is a CSS extension language that allows you to enhance CSS with code
(variables, for example) and then compile it into plain CSS. CSS Preprocessor Sass is
integrated in Connect.
For more information about Sass, see: Sass website.
To add a Sass file:
1.
Right-click the Stylesheet folder on the Resources pane, and click New SCSS
Stylesheet.
2. Enter a name for the file as it appears in the Stylesheet resources.
When the name of Sass file begins with an underscore, it is considered a partial .scss file
(e.g. _mySass.scss). Partial files are typically imported in a base .scss file. They may
include Sass variables or other directives declared in the base file, and they cannot be
compiled.
A Sass file needs to be compiled into a plain CSS file before it can be applied to a section. To
compile it:
Page 650