<div id="app">
  <button @click="count++">{{ count + '分'}}</button>
  <div>
    <input v-model="message">
  </div>
  <p>{{ message.split('').reverse().join('') }}</p>
</div>
@import url(https://fonts.googleapis.com/css?family=Montserrat);

html,body {
  width: 100vw;
  height: 100vh;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: montserrat;
  background: 
		linear-gradient(rgba(196, 102, 0, 0.6), rgba(155, 89, 182, 0.6));
}

#app {
  background: white;
	border: 0 none;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
	padding: 20px 30px;
	box-sizing: border-box;
}


input {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-sizing: border-box;
	font-family: montserrat;
	color: #2C3E50;
	font-size: 13px;
  display: block;
}

p {
  border-top: 3px double #ccc;
  margin-top: 20px;
  padding-top: 20px;
  text-align: center;
  color: #27AE60;
  font-size: 16px;
  font-weight: bold;
}

button {
  padding:15px 60px;
  outline: none;
  background-color: #27ae60;
  border: none;
  border-radius:5px;
  box-shadow: 0 9px #95a5a6;
  display: block;
  margin-bottom: 30px;
  font-size: 1rem;
  color: #fff;
  width: 100%;

  &:hover{
    background-color: #2ecc71;
  }

  &:active {
    background-color: #2ecc71;
    box-shadow: 0 5px #95a5a6;
    transform: translateY(4px);
  }
}
View Compiled
let app = new Vue({
  el: '#app',
  data () {
    return {
      count: 0,
      message: ''
    }
  }
})
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js