Skip to content

Instantly share code, notes, and snippets.

@neves
Last active June 6, 2017 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neves/f3118d362dc4010b88f4a876dc999f68 to your computer and use it in GitHub Desktop.
Save neves/f3118d362dc4010b88f4a876dc999f68 to your computer and use it in GitHub Desktop.
<template>
<button class="btn"><slot></slot></button>
</template>
<style lang="css" scoped>
.btn {
border-style: solid;
border-width: 0px 0px 3px;
box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
color: #FFFFFF;
border-radius: 6px;
cursor: pointer;
display: inline-block;
font-style: normal;
overflow: hidden;
text-align: center;
text-decoration: none;
text-overflow: ellipsis;
transition: all 200ms ease-in-out 0s;
white-space: nowrap;
font-family: "Gotham Rounded A","Gotham Rounded B",Helvetica,Arial,sans-serif;
font-weight: 700;
padding: 19px 39px 18px;
font-size: 18px;
background-color: #C6CCD2;
border-color: #AAB3BB;
}
</style>
<template>
<div class="parent">
<btn>Cancel</btn>
<btn class="success">Save</btn>
<btn class="danger">Remove</btn>
</div>
</template>
<script>
import Btn from './btn.vue'
export default {
components: {Btn}
}
</script>
<style lang="css">
/* https://specificity.keegan.st/ */
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment