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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zaneray/css-browser-selector

v0.8.1

Published

<!-- Main hero unit for a primary marketing message or call to action --> <div class="hero-unit" id="Home"> <h1>CSS Browser Selector +</h1> <h2>A Cross-browser Responsive Design Helper</h2>

Downloads

950

Readme

<p>
    CSS Browser Selector + is a very small javascript which empowers CSS selectors.
</p>

<p>
    <a href="http://ridjohansen.github.com/css_browser_selector/" target="_blank">http://ridjohansen.github.com/css_browser_selector/</a>
</p>

<h4>See an example:</h4>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <p>
                <a download href="https://raw.githubusercontent.com/ridjohansen/css_browser_selector/gh-pages/js/vendor/css_browser_selector.js"
                   class="btn btn-block btn-large btn-success">
                    CSS Browser Selector Download
                </a>
            </p>
        </div>
    </div>
    <div class="row-fluid">
        <ul class="unstyled">

            <li class="span4">
                <h3 class="btn btn-block btn-large btn-primary">Best part</h3>

                <ul>
                    <li>no more hacks</li>
                    <li>all compliant code</li>
                </ul>
            </li>
            <li class="span4">
                <h3 class="btn btn-block btn-large btn-primary">Cross-browser Media Queries like helper</h3>

                <p>Alternative method of mediaqueries for developing responsive design for older browsers.</p>
            </li>
            <li class="span4">
                <h3 class="btn btn-block btn-large btn-primary">You can now write code for</h3>

                <ul>
                    <li>browser</li>
                    <li>browser version</li>
                    <li>platform</li>
                    <li>platform version</li>
                    <li>device</li>
                    <li>device version</li>
                    <li>min-width and</li>
                    <li>max-width screen detection</li>
                    <li>HiDPI (Retina) screen detection and Pixel Ratio detection</li>
                    <li>orientation screen detection (landscape or portrait).</li>
                </ul>
            </li>
            <li class="span4">
                <h3 class="btn btn-block btn-large btn-primary">Optional namespace</h3>

                <p>Add a name space like 'ns-webkit' to all class names by defining 'var css_browser_selector_ns = "ns-";' before loading script. </p>

            </li>
        </ul>
    </div>
</div>

<p>
    <strong>More info:</strong>
    <br/>(http://rafael.adm.br/css_browser_selector)
</p>

<p>
    <strong>beta/experimental versions:</strong>
    <br/>(https://github.com/delka/css_browser_selector/)
    <br/>(https://github.com/verbatim/css_browser_selector/)
</p>
<li>
    <strong>no-js to js:</strong>
    <br/>paul irish: http://paulirish.com/2009/avoiding-the-fouc-v3/
</li>

<li>
    <strong>mac versioning</strong>
    <br/>https://github.com/haraldmartin/css_browser_selector
</li>
    <div class="span4">
        <h3 class="btn btn-block btn-large btn-primary">dataURI Selector</h3>
    </div>

    <div class="span4">
        <h3 class="btn btn-block btn-large btn-primary">Hi-dpi and Pixel-Ratio Selector</h3>
    </div>

    <div class="span4">
        <h3 class="btn btn-block btn-large btn-primary">Media Queries (Screen Width)</h3>
    </div>
    <div class="span4">
        <h3 class="btn btn-block btn-large btn-primary">Media Queries (Orientation)</h3>
    </div>
</div>