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

fluid-sass

v1.0.9

Published

Fluid sass in a scss library to create fluid animations based on movement, just include the mixin in your class and edit it as you like to create fast and beautiful animations

Downloads

22

Readme

What is Fluid-Sass?

Fluid sass in a series of scss mixins and css classes to create fluid and spring based motion animations, just include mixin in your class to create fast and beautiful animations.

There are currently 22 animations available official documentation.

Installation

$ npm install fluid-sass 
$ npm install -D fluid-sass 
$ yarn add fluid-sass 

Usage

This command installs the files you need (css, scss). If you are using in development mode, you can use npx prefix before fluid-sass command.

$ fluid-sass install <typeFile> --dir=<dir>

| options | description | options | | -- | -- | :--: | | typeFile | Install a file type css or scss in the project | ( css, scss ) | | dir | The directory to install |

How to Integrate

See a sample of how to integrate development code in HTML, CSS, SCSS and for more dynamism in Javascript.

HTML

Include your class names personalized.

<!-- page.html -->
<link rel="stylesheet" href="animations.css" />

<header class="fluid-bounce">
    <button class="fluid-shake-vertical" id="btn-sign-in">
        Sign in
    </button>
    <button class="fluid-shake-vertical" id="btn-sign-up">
        Sign up
    </button>
</header>

SASS / SCSS

Include the class name as a mixin to your custom classes.

@import "animations";
// page.scss
.header-component {
    @include fluid-bounce();
}
.button-component {
    @include fluid-shake-vertical();
}

Javascript

Include the classNames defined into yout project

// main.js
let myButton = document.getElementById('btn-sign-up');
byButton.addEventListener('click' , function (e) {
    e.currentTarget.classList.toggle('fluid-shake-vertical');
});

List of class names and mixins animations

The class names is equal to mixins names | Class names or Mixins names | Type animation | | --- | :--: | | fluid-bounce | bounce | | fluid-bounce-inset | bounce | | fluid-bounce-rotate | bounce | | fluid-bounce-expand-x | bounce | | fluid-bounce-expand-y | bounce | | fluid-fade | fade | | fluid-fade-intermittent | fade | | fluid-fade-left | fade | | fluid-fade-right | fade | | fluid-from-left | slide | | fluid-from-right | slide | | fluid-from-top | slide | | fluid-from-bottom | slide | | fluid-shake | shake | | fluid-shake-rotate | shake | | fluid-shake-vertical | shake | | fluid-shake-cross | shake | | fluid-shake-skew-x | shake | | fluid-shake-skew-y | shake | | fluid-d3-rotate | 3d | | fluid-d3-triangle | 3d |

View more animations in the documentation following url fluid-sass documentation