-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.vue
47 lines (44 loc) · 754 Bytes
/
App.vue
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
<script setup>
import Exmaple1 from './exmaple1.vue'
import Exmaple2 from './exmaple2.vue'
import Exmaple3 from './exmaple3.vue'
</script>
<template>
<div class="flex-wrap main">
<Exmaple1 />
<Exmaple2 />
<Exmaple3 />
</div>
</template>
<style>
html, body {
padding: 0;
margin: 0;
background: #f4f5f7;
}
div {
box-sizing: border-box;
}
.row {
display: flex;
}
.col {
display: flex;
flex-direction: column;
}
.flex-wrap {
display: flex;
flex-wrap: wrap;
}
.flex1 {
flex: 1;
}
label:active + input[type="checkbox"], input[type="checkbox"]:active {
box-shadow: 0 0 0 10px rgba(0, 0, 0, .1);
}
</style>
<style scoped>
.main > * {
margin: 14px auto;
}
</style>