Service NSW package documentation and examples
(Login credentials required)
npm install @servicensw/notice --save-dev
CSS
- PostCSS workflow:
@import '@servicensw/notice';
- Sass/Eyeglass:
@import 'servicensw-notice';
- Native CSS:
@import url('dist/notice.css');
- Link tag:
<link href="dist/notice.css" rel="stylesheet" type="text/css">
HTML
<div class="notice" role="status">
<h2>Rockdale Service Centre is coming soon</h2>
<p>
Rockdale Agency will close on 9 March 2018 and re-open in April. Please
visit Kogarah Service Centre during this closure.
</p>
</div>