質問編集履歴

4

誤字

2018/02/15 00:55

投稿

cofee
cofee

スコア44

test CHANGED
File without changes
test CHANGED
@@ -20,9 +20,7 @@
20
20
 
21
21
  ```html
22
22
 
23
- <html>
23
+
24
-
25
- <body>
26
24
 
27
25
  <table>
28
26
 
@@ -110,9 +108,7 @@
110
108
 
111
109
  </table>
112
110
 
113
- </body>
111
+
114
-
115
- </html>
116
112
 
117
113
  ```
118
114
 

3

誤字

2018/02/15 00:55

投稿

cofee
cofee

スコア44

test CHANGED
File without changes
test CHANGED
@@ -152,20 +152,6 @@
152
152
 
153
153
  }
154
154
 
155
- /*
156
-
157
- dl .colortable{
158
-
159
- float: right;
160
-
161
- }
162
-
163
- #1{
164
-
165
- float:right;
166
-
167
- }*/
168
-
169
155
 
170
156
 
171
157
  .white {

2

ソース追加

2018/02/15 00:47

投稿

cofee
cofee

スコア44

test CHANGED
File without changes
test CHANGED
@@ -17,3 +17,229 @@
17
17
  cssはど素人なのでわかりやすく教えて頂けると幸いです。
18
18
 
19
19
  よろしくお願い致します。
20
+
21
+ ```html
22
+
23
+ <html>
24
+
25
+ <body>
26
+
27
+ <table>
28
+
29
+ <tr>
30
+
31
+ <td>カラー</td>
32
+
33
+ <td>
34
+
35
+ <div class="color">
36
+
37
+ <div class="black">
38
+
39
+ <label><input type="checkbox" name="color[]" value="1">ブラック   
40
+
41
+ <label class="colors" style="background-color: black"></label></label>&nbsp;&nbsp;
42
+
43
+ </div>
44
+
45
+ <br>
46
+
47
+ <div class="white">
48
+
49
+ <label><input type="checkbox" name="color[]" value="2">ホワイト   
50
+
51
+ <label class="colors" style="background-color: white"></label></label>&nbsp;&nbsp;
52
+
53
+ </div>
54
+
55
+ <div class="blue">
56
+
57
+ <label><input type="checkbox" name="color[]" value="3">ブルー    
58
+
59
+ <label class="colors" style="background-color: blue"></label></label>&nbsp;&nbsp;
60
+
61
+ </div>
62
+
63
+ <div class="orange">
64
+
65
+ <label><input type="checkbox" name="color[]" value="4">オレンジ   
66
+
67
+ <label class="colors" style="background-color: orange"></label></label>&nbsp;&nbsp;
68
+
69
+ </div>
70
+
71
+ <div class="purple">
72
+
73
+ <label><input type="checkbox" name="color[]" value="5">パープル   
74
+
75
+ <label class="colors" style="background-color: purple"></label></label>&nbsp;&nbsp;
76
+
77
+ </div>
78
+
79
+ <br>
80
+
81
+ <div class="brown">
82
+
83
+ <label><input type="checkbox" name="color[]" value="6">ブラウン   
84
+
85
+ <label class="colors" style="background-color: brown"></label></label>&nbsp;&nbsp;
86
+
87
+ </div>
88
+
89
+ <div class="gray">
90
+
91
+ <label><input type="checkbox" name="color[]" value="7">グレー    
92
+
93
+ <label class="colors" style="background-color: gray"></label></label>&nbsp;&nbsp;
94
+
95
+ </div>
96
+
97
+ <div class="yellow">
98
+
99
+ <label><input type="checkbox" name="color[]" value="8">イエロー   
100
+
101
+ <label class="colors" style="background-color: yellow"></label></label>&nbsp;&nbsp;
102
+
103
+ </div>
104
+
105
+ </div>
106
+
107
+ </td>
108
+
109
+ </tr>
110
+
111
+ </table>
112
+
113
+ </body>
114
+
115
+ </html>
116
+
117
+ ```
118
+
119
+ ```css
120
+
121
+ .colors{
122
+
123
+ display: block;
124
+
125
+ width: 28px;
126
+
127
+ height: 27px;
128
+
129
+ font-weight: normal;
130
+
131
+ outline: 0;
132
+
133
+ border: none;
134
+
135
+ background: none;
136
+
137
+ -webkit-appearance: none;
138
+
139
+ -moz-appearance: none;
140
+
141
+ appearance: none;
142
+
143
+ -webkit-border-radius: 20px;
144
+
145
+ -moz-border-radius: 20px;
146
+
147
+ border-radius: 20px;
148
+
149
+ float: right;
150
+
151
+ margin-left: 8px;
152
+
153
+ }
154
+
155
+ /*
156
+
157
+ dl .colortable{
158
+
159
+ float: right;
160
+
161
+ }
162
+
163
+ #1{
164
+
165
+ float:right;
166
+
167
+ }*/
168
+
169
+
170
+
171
+ .white {
172
+
173
+ position: fixed;
174
+
175
+ top: 11px;
176
+
177
+ right: 800px;
178
+
179
+ }
180
+
181
+
182
+
183
+ .blue {
184
+
185
+ position: fixed;
186
+
187
+ top: 11px;
188
+
189
+ right: 600px;
190
+
191
+ }
192
+
193
+
194
+
195
+ .orange{
196
+
197
+ position: fixed;
198
+
199
+ top: 11px;
200
+
201
+ right: 300px;
202
+
203
+ }
204
+
205
+
206
+
207
+ .brown{
208
+
209
+ position: fixed;
210
+
211
+ top: 57px;
212
+
213
+ right: 800px;
214
+
215
+ }
216
+
217
+
218
+
219
+ .gray{
220
+
221
+ position: fixed;
222
+
223
+ top: 57px;
224
+
225
+ right: 600px;
226
+
227
+ }
228
+
229
+
230
+
231
+ .yellow{
232
+
233
+ position: fixed;
234
+
235
+ top: 57px;
236
+
237
+ right: 300px;
238
+
239
+ }
240
+
241
+
242
+
243
+
244
+
245
+ ```

1

誤タグ

2018/02/15 00:45

投稿

cofee
cofee

スコア44

test CHANGED
File without changes
test CHANGED
File without changes