Skip to content

caroline-rodrigues/sbuttons

 
 

Repository files navigation

sButtons

GitHub license Small Size! PRs Welcome Open Source Love svg1 All Contributors

Simple buttons you can use easily for your next project.

COMING SOON - Hacktoberfest

Hacktoberfest is starting soon, and this repository will help people who don't know where to start contributing. We will be adding a Hacktoberfest label to help contributors find the simple issues they can contribute to. If you have any ideas for new issues or ways to help contributors participate in Hacktoberfest, please add them here.

Usage

You can download the CSS file here and then add it to your html file inbetween the <head> tags:

<link rel="stylesheet" href="/path/to/sbuttons.min.css">

Or instead of downloading the file, you can use the CDN:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/shahednasser/sbuttons/dist/sbuttons.min.css">

In case of using buttons that have icons in them, make sure to include font awesome's CDN in the <head> tag:

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">

To use sButtons in your project , just add the classes of sButton you want to either <button> or <a> tags :

<button class='sbtn basic-btn blue-btn'>Button</button>

This code will produce basic sButton with blue colour. Same can be done for <a> tag

<a href='#' class='sbtn basic-btn blue-btn'>Button</a>

You can find all classes and their corresponding sButtons mentioned in our website.

Installation

  1. Clone the repository
    git clone https://github.com/shahednasser/sbuttons.git
    
  2. Run NPM install
    npm install
    

Contribution

Please see the contributing guidelines for details.

Button ideas

If you have ideas for buttons, or would like to see a list of ideas that have not been implemented to work on, you can add them here.

Contributors

Check out our awesome contributors here!

LICENSE

MIT

About

Simple buttons you can use easily for your next project.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Less 31.4%
  • JavaScript 29.3%
  • HTML 21.0%
  • CSS 18.3%