ganapativs/bttn.css
ganapativs/bttn.css has 2,052 GitHub stars and 143 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 23:59 UTC. Last push 2022-09-07.
Awesome buttons for awesome projects!
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalbttn.css
Awesome buttons for awesome projects!
Demo | Medium Article | ProductHunt | cdnjs

Button style classes
bttn-simplebttn-borderedbttn-minimalbttn-stretchbttn-jellybttn-gradientbttn-fillbttn-material-circlebttn-material-flatbttn-pillbttn-floatbttn-unitebttn-slant(Beta)
Button sizes
bttn-xsbttn-smbttn-mdbttn-lg
Button Colors
bttn-defaultbttn-primarybttn-warningbttn-successbttn-dangerbttn-royal
Button helper classes
bttn-blockbttn-no-outline(Don't show outline when navigating with keyboard/interact using mouse or touch)
Install
Bower
bower install bttn.css
CDN - cdnjs
https://cdnjs.com/libraries/bttn.css
CSS File
<link type="text/css" src="./dist/bttn.min.css"/>
Usage
Include bttn.min.css in head of your html file and start using bttn CSS classes in your button.
<button class="bttn-material-circle bttn-md"> <i class="icon-menu"></i> </button>
Environment Setup
:information_source: Build process uses yarn, you can also use npm instead.
Install dependencies - stylus, autoprefixer-stylus and clean-css
yarn
Compile stylus to css
yarn start
Dev environment
yarn run dev
Minify css for production and build example folder javascript files(Webpack)
yarn run build
View bttn.css demo in browser
open build/index.html in browser
TODO
- Add loading & done state animations
- Test on older version of the browsers
Mentions
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,681 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,165 starsreact/react
The library for web and native user interfaces.
252,298 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,623 stars