npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bootstrap24

v3.3.0

Published

Patch Bootstrap CSS to 24 columns grid

Readme

Patch Bootstrap CSS to 24 columns grid

Add more column CSS classes (like .col-xs-11_5, .col-sm-pull-1_5, .col-md-push-9_5, .col-lg-offset-0_5,...) to Bootstrap 3 to support 24 columns grid.

Getting Started

Use this CSS file beside with Bootstrap CSS file like:

<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/bootstrap24.min.css"/>

See the Usage Examples for more details.

Components

24 columns grid

Width of .col-sm-1_5 equals to .col-sm-1 and a half; and so on...

<div class="row">
  <div class="col-sm-3_5 col-md-3 col-lg-2_5 col-sm-push-8_5 col-md-push-9 col-lg-push-9_5">.col-sm-3_5</div>
  <div class="col-sm-8_5 col-md-9 col-lg-9_5 col-sm-pull-3_5 col-md-pull-3 col-lg-pull-2_5">.col-sm-8_5</div>
</div>
<div class="row">
  <div class="col-xs-5_5 col-sm-7 col-md-6_5 col-lg-6 col-xs-offset-6_5 col-sm-offset-5 col-md-offset-5_5 col-lg-offset-6">.col-xs-5_5</div>
</div>

Note that the new classes are not inheritance (e.g. .col-md-3_5 class only affect to md devices, not sm nor lg devices). So, you need to use next-size column classes beside the custom classes like col-sm-3_5 col-md-3, or col-md-7_5 col-lg-7, or col-md-3_5 col-lg-2_5,...

Colored tooltips

Colored Bootstrap tooltips with new CSS classes: .tooltip-success, .tooltip-info, .tooltip-warning and .tooltip-danger.

<a href="#" data-toggle="tooltip" title="Hooray!" class="tooltip-warning">Hover over me</a>

Colored modals

Now you can colored Bootstrap modals with CSS classes .panel-* such as .panel-info, .panel-warning.

<div class="modal fade" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content panel-info">
      <div class="modal-header panel-heading">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Modal Header</h4>
      </div>
      <div class="modal-body">
        <p>Some text in the modal.</p>
      </div>
    </div>
    <!-- /.modal-content -->
  </div>
</div>

No rounded corners

Add 2 new CSS classes to allow to prevent Bootstrap CSS rounded corners: .no-rounded and .no-rounded-tip.

<pre class="no-rounded"><code>pre.no-rounded and .img-thumbnail</code></pre>
<img src="https://via.placeholder.com/100" alt="100x100" class="img-thumbnail no-rounded"/>

<!-- Tooltips -->
<a href="#" data-toggle="tooltip" title="Info!" class="btn btn-info no-rounded-tip">.no-rounded-tip</a>

<!-- Popovers -->
<a href="#" class="btn btn-danger no-rounded-tip" role="button" data-toggle="popover" data-trigger="focus"
   title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">.no-rounded-tip</a>

Add .no-rounded class to any elements that you want to prevent rounded corners like: .form-control, .btn, .dropdown-menu, .input-group-addon, .nav-tabs, .nav-pills, .navbar, .navbar-toggle, .breadcrumb, .pagination, .alert, .progress, .list-group, .panel, .well, .modal-content,...

Extras

Labels in .form-horizontal can be aligned left with existing .text-left class.

<form class="form-horizontal">
  <div class="form-group">
    <label for="email" class="col-sm-3_5 col-md-3 control-label text-left">Email <b class="text-danger">*</b></label>
    <div class="col-sm-8_5 col-md-9">
      <input type="email" class="form-control" id="email" placeholder="Enter email"/>
    </div>
  </div>
  ...
</form>

Use .row-condensed to make Bootstrap grids more compact by cutting column padding in half.

<div class="row row-condensed">
  <div class="col-md-7_5 col-lg-7">.col-md-7_5</div>
  <div class="col-md-4_5 col-lg-4">.col-md-4_5</div>
</div>

Support horizontal collapsing.

<button type="button" class="btn btn-primary" data-toggle="collapse" data-target="#collapseX">collapse X</button>
<div class="collapse width" id="collapseX">
  <div style="width:250px; height:250px; background:blue;"></div>
</div>

Add new helper classes: .no-underline, .bg-transparent, .full-width, .full-height

.no-underline { text-decoration: none; }
.bg-transparent { background-color: transparent; }

.full-width { width: 100%; }
.full-height { height: 100%; }

Development

Prerequisites

Installing

npm install

Built With

npm run build

License

This project is licensed under the MIT License - see the LICENSE.md file for details