@pnx-mixtape/layout
v4.0.1
Published
layout component
Downloads
289
Keywords
Readme
@pnx-mixtape/layout
Documentation and examples: Layout
Installation
npm install @pnx-mixtape/layout --save-dev
How to use
CSS
- PostCSS workflow:
@import '@pnx-mixtape/layout';
- Native CSS:
@import url('dist/layout.css');
- Link tag:
<link href="dist/layout.css" rel="stylesheet" type="text/css">
HTML
<div class="grid grid--dynamic">
<div></div>
<div></div>
</div>
<div class="grid">
<div class="grid__col grid--4-col"></div>
<div class="grid__col grid--4-col"></div>
<div class="grid__col grid--4-col"></div>
</div>
<section class="section section--top-l section--bottom-l">
<article class="section__content">
<p>Section content.</p>
</article>
</section>