Last active
June 6, 2017 12:32
-
-
Save neves/f3118d362dc4010b88f4a876dc999f68 to your computer and use it in GitHub Desktop.
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 characters
<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> |
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 characters
<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