项目
在 GitHub 查看 
ganapativs/bttn.css
关于
为精彩项目打造的精美按钮!
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文bttn.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
探索相关项目
加载中…