tiny-vue/examples/sites/demos/pc/app/floatbar/custom-style.vue

32 lines
488 B
Vue

<template>
<tiny-floatbar class="custom">
<ul>
<li><a>Default-A</a></li>
<li><a>B</a></li>
<li><a>C</a></li>
<li><a>D</a></li>
</ul>
</tiny-floatbar>
</template>
<script lang="jsx">
import { Floatbar } from '@opentiny/vue'
export default {
components: {
TinyFloatbar: Floatbar
}
}
</script>
<style scoped>
.custom {
position: static;
width: 200px;
background-color: rgb(222, 184, 135);
}
.custom li:hover a {
color: #fff;
}
</style>