New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

suitcss-utils-link

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

suitcss-utils-link

Link utilities for SUIT CSS

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
4
Created
Source

Build Status

SUIT CSS link utilities.

Read more about SUIT CSS's design principles.

Installation

  • npm: npm install suitcss-utils-link
  • Download: zip

Available classes

  • u-linkBlock - Block-level link with no text-decoration for any state.

  • u-linkClean - A link without no text-decoration for any state.

  • u-linkComplex - Limit a link's interactive text-decoration underline to a sub-section of the link text.

    <a class="u-linkComplex" href="{url}">
      Link complex
      <span class="u-linkComplexTarget">target</span>
    </a>
    

Usage

Please refer to the README for SUIT CSS utils

Testing

Install Node (comes with npm).

npm install

To generate a build:

npm run build

To lint code with postcss-bem-linter and stylelint

npm run lint

To generate the testing build.

npm run build-test

To watch the files for making changes to test:

npm run watch

Basic visual tests are in test/index.html.

Browser support

  • Google Chrome (latest)
  • Opera (latest)
  • Firefox 4+
  • Safari 5+
  • Internet Explorer 8+

Keywords

browser

FAQs

Package last updated on 23 Feb 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