Git Product home page Git Product logo

sonar.css's Introduction

sonar.css

npm version Dependency Status license

CSS3 Animated Attention Seekers

Demo

Getting started

Bower

$ bower install sonar.css

npm

$ npm install sonar.css --save

Or manually add sonar.css or sonar.min.css to your website.

Add sonar as a class to any element to activate.

Use sonar-infinite to make the animation loop forever.

Animations

You can use sonar-stroke for border animation, or sonar-fill for background animation.

Triggers

Use sonar-hover or sonar-click for custom triggers.

Delay

Use sonar-delay to set the animation delay to 1s. You can also use sonar-delay-short, sonar-delay-shorter, sonar-delay-long and sonar-delay-longer for different timings.

Colors

Sonar will inherit the border/background colors. But sonar supports all the bootstrap colors, so you can use sonar-default, sonar-primary, sonar-success, sonar-info, sonar-warning, and sonar-danger.

All colors are compatible with sonar-stroke and sonar-fill.

Using the SASS version

If you want to customize anything, clone the project and edit the sass files. If you just want to change some behavior, editing the _variables.sccs file is recommended.

You can use Grunt with the following tasks:

  • grunt: This will setup up a watch on the sass files, so you can test your changes more easily. Use the index.html file provided for this.
  • grunt build: This will just generate the sonar.css and sonar.min.css files.

Developed by Alejandro U. Alvarez - MIT License

Analytics

sonar.css's People

Contributors

aurbano avatar jaicab avatar

Stargazers

Max Andreola avatar

Watchers

James Cloos avatar Max Andreola avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.