@npmcorp/pui-css-hoverable

hoverable css component for the npm fork of Pivotal UI, based on Bootstrap

Usage no npm install needed!

<script type="module">
  import npmcorpPuiCssHoverable from 'https://cdn.skypack.dev/@npmcorp/pui-css-hoverable';
</script>

README

@npmcorp/pui-css-hoverable

A CSS hoverable component that can be installed via this npm package. The package provides all of the CSS you need to use the component.

Installation

To install the package, from the command line, type:

npm install pui-css-hoverable

Usage

<ul class="list-group" hoverable-group="true">
  <li class="list-group-item" hoverable="true">
    List Item 1
    <a class="hovered" href="#">Edit</a>
  </li>
  <li class="list-group-item" hoverable="true">
    List Item 2
    <a class="hovered" href="#">Edit</a>
  </li>
  <li class="list-group-item" hoverable="true">
    List Item 3
    <a class="hovered" href="#">Edit</a>
  </li>
  <li class="list-group-item">
    Not hoverable
  </li>
</ul>

You can find more examples of the hoverable component in the pui style guide


This is a component of Pivotal UI. It is a Pivotal specific implementation of Bootstrap.

Styleguide Github

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.