WebAppers

/ best free open source web resources /

Shopify

Colorful and Scalable Buttons with CSS3 & RGBA

Posted · Category: Buttons, License Free

One of great things about CSS3 is the addition of RGBA, a color mode that adds alpha-blending to your favorite CSS properties. ZURB has kicked the tires on it a bit with their own projects and have found that it helps streamline their CSS and makes scaling things like buttons very easy. To show you how, ZURB has cooked up an example of some Super Awesome Buttons with CSS3 and RGBA.

With a little CSS3 magic, we can create a scalable set of buttons with nearly half the CSS it would have taken with hex colors. Give it a go in your next project and see how it can help add that extra polish you want without huge impact on your code.

CSS3 Buttons

Requirements: CSS3
Demo: http://www.zurb.com/blog_uploads/0000/0401/buttons-01.html
License: License Free

7 Comments
  • http://www.xghozt.com/ XGhozt

    This was the first thing I did when I was introduced to CSS3 a few months ago. :)

  • Brian

    Nice buttons we’ll never be able to use. Even the latest browsers don’t support most of the features of CSS3, and look how long the old ones stick around. I still have to program to IE6 and you’re telling me about cool CSS3 buttons? Great, maybe I can use this in 10 years.

  • http://pr0digy.com Alex

    Nice buttons, very simple to implement as well. As far as the older browsers go, the buttons look quite decent in them – no drop shadows or rounded corners, but they still work just fine.

  • http://www.creare.co.uk Mandy

    Thanks for this. It is disappointing that they are not supported by the older browsers but they still work. I suppose its just a matter of time before we can ditch the images and use this technique full time!

  • http://www.xghozt.com/ XGhozt

    @Brian; It works for me because I’m making an attempt to no longer support IE6 at all. Bigger companies like youtube and facebook are forcing their users to switch, why can’t we? I think it’s time we start pushing it to the rest of the internet. We can only hope cooperate offices catch on.

  • http://www.ejotor.com j.riebelle

    All well said, this cant make do for now! we still have a lot of internet users surfing the net with old browsers.
    You could try out this link for a jQuery shadow effect
    http://eyebulb.com/dropshadow/

  • Pingback: Simply Butons v2 with Javascript Enhancements « Jbloo

Supported By

Deals

Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons