Skip to content

Instantly share code, notes, and snippets.

@ryanve
Created October 28, 2017 23:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ryanve/18bc7fac1d08425f1a0561f46c07ce5b to your computer and use it in GitHub Desktop.
CSS data attribute molecule example
<Button
  data-shadow="raised"
  data-shape="button"
  data-spacing="ml-auto"
  data-tone="secondary">
  Cancel
</Button>
<Button
  data-shadow="raised"
  data-shape="button"
  data-spacing="ml1"
  data-tone="primary">
  Save
</Button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment