neves
6/6/2017 - 12:09 PM

btn.vue

<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>
<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>