質問編集履歴
1
質問内容、コード編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
しかし、main-ue-leftとmain-ue-centerのみ入れ子になっていて、main-ue-rightも入れ子に反映されていない状況です。
|
4
4
|
|
5
|
+
|
6
|
+
|
5
|
-
main-
|
7
|
+
やりたいことは、main-sita-left,main-sita-center,main-sita-rightのボタン三つをmain要素の中に入れて横並びに配置したいです。
|
6
8
|
|
7
9
|
|
8
10
|
|
@@ -28,7 +30,7 @@
|
|
28
30
|
|
29
31
|
<button class = "main-ue-center">2</div>
|
30
32
|
|
31
|
-
<
|
33
|
+
<button class = "main-ue-right">3</div>
|
32
34
|
|
33
35
|
</div>
|
34
36
|
|
@@ -49,3 +51,133 @@
|
|
49
51
|
</div>
|
50
52
|
|
51
53
|
```
|
54
|
+
|
55
|
+
```css
|
56
|
+
|
57
|
+
html,
|
58
|
+
|
59
|
+
body {
|
60
|
+
|
61
|
+
height: 100%;
|
62
|
+
|
63
|
+
width: 100%;
|
64
|
+
|
65
|
+
margin: 0;
|
66
|
+
|
67
|
+
}
|
68
|
+
|
69
|
+
#app {
|
70
|
+
|
71
|
+
height: 100%;
|
72
|
+
|
73
|
+
width: 100%;
|
74
|
+
|
75
|
+
background-color: red;
|
76
|
+
|
77
|
+
}
|
78
|
+
|
79
|
+
.all {
|
80
|
+
|
81
|
+
height: 100%;
|
82
|
+
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
.head {
|
88
|
+
|
89
|
+
height: 20%;
|
90
|
+
|
91
|
+
width: 100%;
|
92
|
+
|
93
|
+
text-align: center;
|
94
|
+
|
95
|
+
display: flex;
|
96
|
+
|
97
|
+
padding-left: 20px;
|
98
|
+
|
99
|
+
padding-top: 20px;
|
100
|
+
|
101
|
+
}
|
102
|
+
|
103
|
+
.head-left {
|
104
|
+
|
105
|
+
height: 30px;
|
106
|
+
|
107
|
+
width: 150px;
|
108
|
+
|
109
|
+
border: solid 1px;
|
110
|
+
|
111
|
+
border-radius: 2px;
|
112
|
+
|
113
|
+
}
|
114
|
+
|
115
|
+
.head-right {
|
116
|
+
|
117
|
+
height: 30px;
|
118
|
+
|
119
|
+
width: 150px;
|
120
|
+
|
121
|
+
border: solid 1px;
|
122
|
+
|
123
|
+
border-radius: 2px;
|
124
|
+
|
125
|
+
margin-left: 20px;
|
126
|
+
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
.main {
|
132
|
+
|
133
|
+
height: 60vh;
|
134
|
+
|
135
|
+
width: 100%;
|
136
|
+
|
137
|
+
background-color: #fff;
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
.main-ue {
|
142
|
+
|
143
|
+
display:inline-block
|
144
|
+
|
145
|
+
}
|
146
|
+
|
147
|
+
.main-ue-left {
|
148
|
+
|
149
|
+
height: 100px;
|
150
|
+
|
151
|
+
width: 130px;
|
152
|
+
|
153
|
+
font-size: 30px;
|
154
|
+
|
155
|
+
border-radius: 5px;
|
156
|
+
|
157
|
+
}
|
158
|
+
|
159
|
+
.main-ue-center {
|
160
|
+
|
161
|
+
height: 100px;
|
162
|
+
|
163
|
+
width: 130px;
|
164
|
+
|
165
|
+
font-size: 30px;
|
166
|
+
|
167
|
+
border-radius: 5px;
|
168
|
+
|
169
|
+
}
|
170
|
+
|
171
|
+
.main-ue-right {
|
172
|
+
|
173
|
+
height: 100px;
|
174
|
+
|
175
|
+
width: 130px;
|
176
|
+
|
177
|
+
font-size: 30px;
|
178
|
+
|
179
|
+
border-radius: 5px;
|
180
|
+
|
181
|
+
}
|
182
|
+
|
183
|
+
```
|