Coder Social home page Coder Social logo

hasanmisbah / an-skill-bar Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 170 KB

jQuery Based skill progress bar.

Home Page: https://hasanmisbah.github.io/an-skill-bar/

License: MIT License

HTML 29.39% JavaScript 53.06% CSS 17.55%
jquery-plugin jquery skill-bars javascript frontend frontend-webdevelopment

an-skill-bar's Introduction

an-skill-bar CI status

Codacy Badge

A jQuery Based lightweight skill bar filler

Demo

Demo

Installation

add an-skill-bar css to html head section

<link rel="stylesheet" href="an-skill-bar.min.css">

and then add javascript file after jquery library

<script src="scripts/an-skill-bar.js"></script>

Requirements

  • jquery 3.3.1 or later

Usage

Initialize your markup like this

<div class="skillbar">
      <span class="title"></i> less</span>
      <span class="percent">40%</span>
      <div class="filled" data-width="90%"></div>
</div>

you can use our predefined class like this

<div class="skillbar html">
      <span class="title"></i> less</span>
      <span class="percent">40%</span>
      <div class="filled" data-width="90%"></div>
</div>

Predefined Class

html, css, js, php, jquery, sass, less, react, nodejs,
angular, vue, meteor, backbone, ember, mysql, python, django,
agile, photoshop, illustrator, indesign, laravel

initialize plugin with jquery

$(document).ready(function () {
    $(".skillbar").skillbar();
});

you can pass value with this

$(document).ready(function () {
    $(".skillbar").skillbar({
        speed: 1000,
        bg : "#008080"
    });
});

custom Style or color

add a class name after skillbar class customize it with your own style like <div class="skillbar myownclass"></div> and then call it to your css file like

.skillbar.myownclass .title{
/* Your style goes here */
}
.skillbar.myownclass .percent{
/* Your style goes here */
}
.skillbar.myownclass .filled{
/* Your style goes here */
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

MIT

an-skill-bar's People

Contributors

codacy-badger avatar hasanmisbah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ptboy

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.