Skip to content

Instantly share code, notes, and snippets.

Created December 13, 2017 15:18
Show Gist options
  • Save anonymous/69351b7005b3660bc072474525ccfd6e to your computer and use it in GitHub Desktop.
Save anonymous/69351b7005b3660bc072474525ccfd6e to your computer and use it in GitHub Desktop.
Justified container into center like in twitter
<div id="app">
<v-toolbar class="green">
<v-toolbar-title>Example vuetify template</v-toolbar-title>
</v-toolbar>
<v-app>
<v-content>
<v-container fluid grid-list-xl>
<v-layout row justify-center>
<v-flex xs3>
<v-card>
<v-card-text>one</v-card-text>
</v-card>
</v-flex>
<v-flex xs9>
<v-card>
<v-card-text>two</v-card-text>
</v-card>
<v-card>
<v-card-text>three</v-card-text>
</v-card>
</v-flex>
</v-container>
</v-app>
</div>
new Vue({ el: '#app' });
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.10/vue.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vuetify/0.17.4/vuetify.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/vuetify/0.17.4/vuetify.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment