質問編集履歴
1
内容を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -25,3 +25,199 @@
|
|
25
25
|
どうにかして表示したいのですが方法はありますか?
|
26
26
|
|
27
27
|
もし、不可能だったりとても面倒なことになるようでしたら、従来通りcgi側でエラーページを表示するようにします。
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
----
|
32
|
+
|
33
|
+
内容を追加します。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
```html
|
38
|
+
|
39
|
+
<input type="radio" name="お問合せ種類" value="AAAについて" id="radio_a01" required><label for="radio_a01" class="radio">AAAに関して</label>
|
40
|
+
|
41
|
+
<input type="radio" name="お問合せ種類" value="bbbについて" id="radio_a02"><label for="radio_a02" class="radio">bbbについて</label>
|
42
|
+
|
43
|
+
<input type="radio" name="お問合せ種類" value="cccについて" id="radio_a03"><label for="radio_a03" class="radio">cccについて</label>
|
44
|
+
|
45
|
+
<input type="radio" name="お問合せ種類" value="その他" id="radio_a04"><label for="radio_a04" class="radio">その他</label>
|
46
|
+
|
47
|
+
~
|
48
|
+
|
49
|
+
<input type="checkbox" name="チェック" value="Y " id="checkbox_c1" required>
|
50
|
+
|
51
|
+
<label for="checkbox_c1" class="checkbox contact4">内容確認チェック</label>
|
52
|
+
|
53
|
+
```
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
```css
|
58
|
+
|
59
|
+
/*各フォームデザイン*/
|
60
|
+
|
61
|
+
input[type=radio], input[type=checkbox] {
|
62
|
+
|
63
|
+
display: none;
|
64
|
+
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
.radio, .checkbox {
|
70
|
+
|
71
|
+
box-sizing: border-box;
|
72
|
+
|
73
|
+
-webkit-transition: background-color 0.2s linear;
|
74
|
+
|
75
|
+
transition: background-color 0.2s linear;
|
76
|
+
|
77
|
+
position: relative;
|
78
|
+
|
79
|
+
display: inline-block;
|
80
|
+
|
81
|
+
margin: 0 10px 8px 0;
|
82
|
+
|
83
|
+
padding: 12px 12px 12px 42px;
|
84
|
+
|
85
|
+
border-radius: 8px;
|
86
|
+
|
87
|
+
background-color: #EA9F54;
|
88
|
+
|
89
|
+
vertical-align: middle;
|
90
|
+
|
91
|
+
cursor: pointer;
|
92
|
+
|
93
|
+
color:#FFF;
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
}
|
98
|
+
|
99
|
+
.radio:hover, .checkbox:hover {
|
100
|
+
|
101
|
+
background-color: #efc9a3;
|
102
|
+
|
103
|
+
color:#73462B;
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
.radio:hover:after, .checkbox:hover:after {
|
108
|
+
|
109
|
+
border-color: #E00B05;
|
110
|
+
|
111
|
+
}
|
112
|
+
|
113
|
+
.radio:after, .checkbox:after {
|
114
|
+
|
115
|
+
-webkit-transition: border-color 0.2s linear;
|
116
|
+
|
117
|
+
transition: border-color 0.2s linear;
|
118
|
+
|
119
|
+
position: absolute;
|
120
|
+
|
121
|
+
top: 50%;
|
122
|
+
|
123
|
+
left: 15px;
|
124
|
+
|
125
|
+
display: block;
|
126
|
+
|
127
|
+
margin-top: -10px;
|
128
|
+
|
129
|
+
width: 16px;
|
130
|
+
|
131
|
+
height: 16px;
|
132
|
+
|
133
|
+
border: 2px solid #fff;
|
134
|
+
|
135
|
+
border-radius: 6px;
|
136
|
+
|
137
|
+
content: '';
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
.radio:before {
|
144
|
+
|
145
|
+
-webkit-transition: opacity 0.2s linear;
|
146
|
+
|
147
|
+
transition: opacity 0.2s linear;
|
148
|
+
|
149
|
+
position: absolute;
|
150
|
+
|
151
|
+
top: 50%;
|
152
|
+
|
153
|
+
left: 20px;
|
154
|
+
|
155
|
+
display: block;
|
156
|
+
|
157
|
+
margin-top: -5px;
|
158
|
+
|
159
|
+
width: 10px;
|
160
|
+
|
161
|
+
height: 10px;
|
162
|
+
|
163
|
+
border-radius: 50%;
|
164
|
+
|
165
|
+
background-color:#E00B05;
|
166
|
+
|
167
|
+
content: '';
|
168
|
+
|
169
|
+
opacity: 0;
|
170
|
+
|
171
|
+
}
|
172
|
+
|
173
|
+
input[type=radio]:checked + .radio:before {
|
174
|
+
|
175
|
+
opacity: 1;
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
.checkbox:before {
|
182
|
+
|
183
|
+
-webkit-transition: opacity 0.2s linear;
|
184
|
+
|
185
|
+
transition: opacity 0.2s linear;
|
186
|
+
|
187
|
+
position: absolute;
|
188
|
+
|
189
|
+
top: 50%;
|
190
|
+
|
191
|
+
left: 21px;
|
192
|
+
|
193
|
+
display: block;
|
194
|
+
|
195
|
+
margin-top: -7px;
|
196
|
+
|
197
|
+
width: 5px;
|
198
|
+
|
199
|
+
height: 9px;
|
200
|
+
|
201
|
+
border-right: 3px solid #E00B05;
|
202
|
+
|
203
|
+
border-bottom: 3px solid #E00B05;
|
204
|
+
|
205
|
+
content: '';
|
206
|
+
|
207
|
+
opacity: 0;
|
208
|
+
|
209
|
+
-webkit-transform: rotate(45deg);
|
210
|
+
|
211
|
+
-ms-transform: rotate(45deg);
|
212
|
+
|
213
|
+
transform: rotate(45deg);
|
214
|
+
|
215
|
+
}
|
216
|
+
|
217
|
+
input[type=checkbox]:checked + .checkbox:before {
|
218
|
+
|
219
|
+
opacity: 1;
|
220
|
+
|
221
|
+
}
|
222
|
+
|
223
|
+
```
|