How can you define a custom class to create bootstrap buttons.
In my theme I have
Edit Button
<a class='btn btn-flat bg-green btn-xs' href='...'>Edit</a>
Delete Button
<a class='btn btn-flat bg-red btn-xs' href='...'>Edit</a>
Can I use a single class for each that imports the styles without having to redefine the style code.
ex:
<a class='btn-app-edit' href='...'>Edit</a>
Is there a css function that can do this ? ex:
.btn-app-edit:inherit('btn btn-flat bg-green');
Having a feature like this means that when the master theme is replaced or changes from bootstrap to another css framework, my custom classes can just link up to the new Css framework rather than having to change the implementation everywhere.