@pnx-mixtape/cta
v1.1.3
Published
cta component
Downloads
44
Keywords
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';
- 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>