Created
December 13, 2017 15:18
-
-
Save anonymous/69351b7005b3660bc072474525ccfd6e to your computer and use it in GitHub Desktop.
Justified container into center like in twitter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Vue({ el: '#app' }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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