Rumah > Soal Jawab > teks badan
P粉5738097272023-08-31 09:16:31
Anda boleh menjajarkan item secara mendatar menggunakan atribut justify
.
Demo Langsung:
new Vue({ el: '#app', vuetify: new Vuetify() })
<script src="https://unpkg.com/vue@2.x/dist/vue.js"></script> <script src="https://unpkg.com/vuetify@2.6.10/dist/vuetify.min.js"></script> <link rel="stylesheet" href="https://unpkg.com/vuetify@2.6.10/dist/vuetify.min.css"/> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"/> <link rel="stylesheet" href="https://unpkg.com/@mdi/font@6.x/css/materialdesignicons.min.css"/> <div id="app"> <v-app id="inspire"> <v-btn block size="x-large"> <v-row justify="space-between"> <v-col md="4"> <v-btn icon size="small" variant="contained"> <v-icon>mdi-information</v-icon> </v-btn> </v-col> <v-col>Button Text</v-col> <v-col md="4"> <v-btn icon size="small" variant="contained"> <v-icon>mdi-check</v-icon> </v-btn> </v-col> </v-row> </v-btn> </v-app> </div>