@pnx-mixtape/content-card

1.3.1 • Public • Published

@pnx-mixtape/content-card

Documentation and examples: Content cards

Installation

npm install @pnx-mixtape/content-card --save

How to use

CSS

  • PostCSS workflow: @import '@pnx-mixtape/content-card';
  • Native CSS: @import url('dist/content-card.css');
  • Link tag: <link href="dist/content-card.css" rel="stylesheet" type="text/css">

HTML

<div class="content-card">
  <figure class="content-card__media">
    <img src="https://via.placeholder.com/788x556" alt="Descriptive text" />
  </figure>
  <div class="content-card__content">
    <h3>Title</h3>
    <p>Body content</p>
  </div>
</div>

Readme

Keywords

none

Package Sidebar

Install

npm i @pnx-mixtape/content-card

Weekly Downloads

82

Version

1.3.1

License

MIT

Unpacked Size

9.53 kB

Total Files

7

Last publish

Collaborators

  • previousnext-admin
  • larowlan
  • jptaranto
  • godamage
  • rikki_iki