Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nib-styles/article-cards

Package Overview
Dependencies
Maintainers
20
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nib-styles/article-cards

Fixed width news article cards for nib pages. Used for the homepage and /nib-news

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
20
Weekly downloads
 
Created
Source

@nib-styles/article-cards

Fixed width news article cards for nib pages. Used for the homepage and /nib-news

Installation

npm install --save @nib-styles/article-cards

Usage

Card grid can be limited to 3 columns or unlimited and fill the space.

<div class="article-cards article-cards--limited-to-three-columns">
    
    <a class="article-card"></a>
    <a class="article-card"></a>
    <a class="article-card"></a>
    
 </div>

There are three categories of article-card:

  • Media

  • Health Cover

  • Healthy Life

    <a class="article-card article-card--media"></a>
    <a class="article-card article-card--health-cover"></a>
    <a class="article-card article-card--health-life"></a>
     
    

An article-card is comprised of a date, title, blurb and link:

<div class="article-cards article-cards--limited-to-three-columns">
    <a class="article-card article-card--media" href="#">
        <p class="article-card__date">02 June 2016</p>
        <h1 class="article-card__title">Netus blandit habitant cursus</h1>
        <p class="article-card__blurb">
            Diam adipiscing orci ullamcorper feugiat dapibus a lacus sagittis a nulla feugiat a phasellus netus blandit habitant cursus scelerisque quisque taciti enim.
        </p>
        <div class="article-card__link">Read full article</div>
    </a>
</div>

Articles can omit any of these elements (e.g. blurb). A group of articles should contain the same elements to maintain equal heights.

FAQs

Package last updated on 07 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc