项目
在 GitHub 查看
imathis/fancy-buttons
关于
使用 Compass 制作的精美 CSS 按钮。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Using fancy buttons on your site?
Add a link to the wiki
Demo

Without CSS gradient support:
Install
Install the plugin: (should automatically install latest dependencies for Compass, and Haml)
gem install fancy-buttons
To create a new project based on fancy-buttons:
compass install -r fancy-buttons -f fancy-buttons
To add fancy-buttons to an existing compass project:
# Add the following lines to your compass configuration file:
require 'fancy-buttons'
# Then run the following command:
compass install -r fancy-buttons -f fancy-buttons
Project Goals:
- Generate a color palette from the base color
- Discern sensible palette variations based on a base color (dark, medium, light)
- Allow button style types (subtle gradient, shiny gradient)
- Make it easy to override/modify styles
- Reduce weight of generated styles (define button base, add color through additional classes)
- Create good defaults
- Ensure approximate consistency for browsers that don't support CSS gradients
- Style the button element
- Provide a decent alternative styling for ie6
探索相关项目
加载中…