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

babonless

v0.3.1

Published

Just another LESS library.

Downloads

3

Readme

BabonLESS


BabonLESS is just another LESS library. BabonLESS help you with CSS3 mixins and some usable mixins. We are trying to make our life easy when writing css. We try to makes all non-unit properties shorted. Really, you'll love to use those mixins.

Get BabonLESS You can use bower install babonless or download the latest version v0.1.5

Example:

.flying-block {
    .block(100%);
    .blur-e(3px);
    .grayscale-e(0.9);
    .absolute-middle-center;
}
.table-cell-display {
    .table-cell(25% 50px);
    .middle-center;
}

Output:

.flying-block {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-filter: blur(3px) grayscale(0.9);
}
.table-cell-display {
    display: table-cell;
    width: 25%;
    height: 50px;
    text-align: center;
    vertical-align: middle;
}

Love it?

Most of the custom mixins using shortand-like arguments. Example: .absolute(10px none none 10px) NOT .absolute(10px, none, none, 10px);

We are also created mixed mixins to makes the code easy to read. It's mean properties that can have multiple value like transform: translate(20%, 30%) rotate(20deg); can be mixed without type it all in the arguments. Every mixins that can be mixed always ended with -e suffix. E.g: .blur-e(); .grayslace-e().

Sample

.transformed {
    .translate-e(20% 30%);
    .rotate-e(20deg);
}

Output

.transformed {
    -webkit-transform: translate(20%, 30%) rotate(20deg);
    -moz-transform: translate(20%, 30%) rotate(20deg);
    -ms-transform: translate(20%, 30%) rotate(20deg);
    -o-transform: translate(20%, 30%) rotate(20deg);
    transform: translate(20%, 30%) rotate(20deg);
}

CONTENTS

Visit the wiki page to see the contents detail.

  • Alignments
  • Commons
  • CSS3
  • Animations
  • Borders
  • Cheats
  • Displays
  • Fonts
  • Gradients
  • Grids
  • Media Queries
  • Positions
  • Shadows
  • Shapes
  • Text Styles
  • Transforms