Documentation and examples: CTA
npm install @pnx-mixtape/cta --save
CSS
- PostCSS workflow:
@import '@pnx-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>