I currently follow the vuetify SPA example, wo the v-parallax whic is not yet fully ready for vue-cli v3. The current structure display the v-toolbar at the top , with the v-navigation-drawerr, then the v-content displaying the different views...
App.vue
<template>
<v-app light>
<div id="app">
<v-navigation-drawer absolute class="hidden-sm-and-up" v-model="sideNav">
<v-toolbar flat>
....
</v-toolbar>
<v-list>
....
</v-list>
</v-navigation-drawer>
<v-toolbar>
....
</v-toolbar>
<v-content>
<router-view/>
</v-content>
</div>
</v-app>
</template>
Section1.vue
<div class="section1">
<section>
<div class="parallax">
<v-layout
column
align-center
justify-center
class="white--text"
>
<img src="../assets/images/vuetify.png" alt="Vuetify.js" height="200">
</v-layout>
</div>
</section>
</div>
</template>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.parallax {
background-image: url('../assets/images/hero.jpeg');
background-size:cover;
/* Set a specific height */
min-height: 600px;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
</style>
I would like to display the v-toolbar OVER the parallax background-image, which means it should be transparent and the background-image should display at the top, below the v-toolbar
is it currently posssible w CSS or should I not use vuetify and go back to a simple html/css template coding ?
thanks for feedback and advices