You heard why we're creating Foundation 4 in our post last week. We're all about coding smarter with the new version of Foundation and one of best ways to do that is by using Scss, especially mixins and placeholder classes. Today, we want to share with you our newly created button placeholder classes and mixin you'll be able to use to create Foundation buttons while keeping markup semantic and clean!
With this mixin you're able to declare all the previous Foundation buttons, like: primary, secondary, alert, success, small, large, radius, etc. The difference now is that you don't need presentational HTML classes to create them. Now you can write semantic ID's and classes and attach the button styles using the new hotness we're about to share with you.
Without further ado, here's a link to the new code on Forrst. Jump in and offer feedback if you've got an account. If not, feel free to comment on this post.
Foundation 4 Button Mixin