README
@pnx-mixtape/cta
Documentation and examples: CTA
Installation
npm install @pnx-mixtape/cta --save
How to use
CSS
- PostCSS workflow:
@import '@pnx-mixtape/cta';
- Sass/Eyeglass:
@import 'mixtape-cta';
- Native CSS:
@import url('dist/cta.css');
- Link tag:
<link href="dist/cta.css" rel="stylesheet" type="text/css">
HTML
<div class="cta">
<h2>Title</h2>
<p>Body content</p>
<div class="cta__actions">
<a href="#" class="button button--large button--primary">Let's get started</a>
</div>
</div>