@servicensw/advertising
v2.2.5
Published
advertising component
Downloads
19
Maintainers
Keywords
Readme
@servicensw/advertising
Service NSW package documentation and examples (Login credentials required)
Installation
npm install @servicensw/advertising --save-dev
How to use
CSS
- PostCSS workflow:
@import '@servicensw/advertising';
- Sass/Eyeglass:
@import 'servicensw-advertising';
- Native CSS:
@import url('dist/advertising.css');
- Link tag:
<link href="dist/advertising.css" rel="stylesheet" type="text/css">
HTML
<div class="advertising">
<div class="advertising__ad">
/* Place ad code here */
<a href="https://www.service.nsw.gov.au/advertising-guidelines"
>Advertising</a
>
</div>
</div>