Service NSW package documentation and examples
(Login credentials required)
npm install @servicensw/page --save-dev
CSS
- PostCSS workflow:
@import '@servicensw/page';
- Sass/Eyeglass:
@import 'servicensw-page';
- Native CSS:
@import url('dist/page.css');
- Link tag:
<link href="dist/page.css" rel="stylesheet" type="text/css">
HTML
<div class="page-wrapper">
<div class="container">
<div class="page-section">
<h2>Section title</h2>
<p>Section content</p>
</div>
</div>
</div>