質問編集履歴

1

コードを詳細に記載しました

2021/07/05 05:43

投稿

pansuki
pansuki

スコア1

test CHANGED
File without changes
test CHANGED
@@ -12,18 +12,66 @@
12
12
 
13
13
 
14
14
 
15
- ```HTML
15
+ ```Vue
16
16
 
17
- <div class="input-info">
17
+ <template>
18
18
 
19
- <div class="info">氏名</div>
19
+ <div class="input-info-wrapper">
20
20
 
21
- <div class="info">
21
+ <div class="input-info margin-half-top margin-half-bottom">
22
22
 
23
+ <div class="info mk-super-large-text">ID/氏名</div>
24
+
25
+ <div class="info mk-large-text">
26
+
23
- <div><input type="text" v-model="textInput" /></div>
27
+ <input class="text-box" type="text" v-model="textInput" />
24
28
 
25
29
  </div>
26
30
 
27
- </div>
31
+ </div>
32
+
33
+ </div>
34
+
35
+ </div>
36
+
37
+ </template>
38
+
39
+
40
+
41
+ <style lang="scss">
42
+
43
+ .text-box {
44
+
45
+ background-color: transparent;
46
+
47
+ }
48
+
49
+ .input-info-wrapper {
50
+
51
+ transform: translate(0%, -35%);
52
+
53
+ }
54
+
55
+ .input-info {
56
+
57
+ display: flex;
58
+
59
+ border-bottom: solid 0.5px black;
60
+
61
+ justify-content: flex-start;
62
+
63
+ }
64
+
65
+ .info {
66
+
67
+ margin: auto;
68
+
69
+ border: none;
70
+
71
+ }
72
+
73
+ </style>
74
+
75
+
28
76
 
29
77
  ```