@servicensw/box

Box

Usage no npm install needed!

<script type="module">
  import servicenswBox from 'https://cdn.skypack.dev/@servicensw/box';
</script>

README

@servicensw/box

Box component

Service NSW package documentation and examples
(Login credentials required)

Installation

npm install @servicensw/box --save-dev

How to use

CSS

  • PostCSS workflow: @import '@servicensw/box';
  • Sass/Eyeglass: @import 'servicensw-box';
  • Native CSS: @import url('dist/box.css');
  • Link tag: <link href="dist/box.css" rel="stylesheet" type="text/css">

HTML

<div class="box">
  <h3>Box heading</h3>
  <p>Box content</p>
</div>