Created
December 26, 2016 11:40
-
-
Save andresgalante/6ac55e67a98a0ae5dd3abdb2a47f5d3f to your computer and use it in GitHub Desktop.
Revisions
-
andresgalante created this gist
Dec 26, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ --- title: Buttons --- ## Overview If this is a bootstrap component: This is a Bootstrap component, [see complete documentation here](URL) Otherwise: Link to the design specs Only if needed write a short description with implementation notes. Design and interaction notes are already written on the design specs, don't repeat information. For example for buttons: Always add a modifier class to add color to the button. Never use the class `.btn` on its own. ## Accessibility Write accessibility, aria tags, tab index and other notes to make this component accessible. ## Usage | Class | Usage | | -- | -- | | `.btn` **Applied to:** `<a>`, `<button>` | **Outcome:** Initiates a button **Required:** Yes **Remarks:** Always use it with a modifier class. | | `.btn-secondary` **Applied to:** `.btn` | **Outcome:** Adds secondary color **Required:** Yes |