Nuxt/examples/basic-css/pages/index.vue

19 lines
297 B
Vue
Raw Normal View History

2016-11-07 01:34:58 +00:00
<template>
<div class="basic-css">
<p>Hello World</p>
</div>
</template>
<style>
.basic-css {
font: 15px Helvetica, Arial, sans-serif;
background: #eee;
padding: 100px;
text-align: center;
transition: 100ms ease-in background;
}
.basic-css:hover {
background: #ccc
}
</style>