forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRowHorizontalAlignment.vue
More file actions
64 lines (59 loc) · 1.32 KB
/
RowHorizontalAlignment.vue
File metadata and controls
64 lines (59 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<template>
<div class="q-pa-md doc-container">
<q-badge>justify-start</q-badge>
<div class="row justify-start">
<div class="col-4">
One of two cols
</div>
<div class="col-4">
One of two cols
</div>
</div>
<q-badge>justify-center</q-badge>
<div class="row justify-center">
<div class="col-4">
One of two cols
</div>
<div class="col-4">
One of two cols
</div>
</div>
<q-badge>justify-end</q-badge>
<div class="row justify-end">
<div class="col-4">
One of two cols
</div>
<div class="col-4">
One of two cols
</div>
</div>
<q-badge>justify-around</q-badge>
<div class="row justify-around">
<div class="col-4">
One of two cols
</div>
<div class="col-4">
One of two cols
</div>
</div>
<q-badge>justify-between</q-badge>
<div class="row justify-between">
<div class="col-4">
One of two cols
</div>
<div class="col-4">
One of two cols
</div>
</div>
</div>
</template>
<style lang="sass" scoped>
.row
background: rgba(255,0,0,.1)
.row > div
padding: 10px 15px
background: rgba(86,61,124,.15)
border: 1px solid rgba(86,61,124,.2)
.doc-container > div + div
margin-top: 1rem
</style>