質問編集履歴

1

ソースとバージョンの情報を追加しました。よろしくお願い致します。

2018/05/21 02:15

投稿

UKYO9311
UKYO9311

スコア31

test CHANGED
File without changes
test CHANGED
@@ -13,3 +13,213 @@
13
13
  崩れていると言っても、一箇所改行されてしまっているとかですが...。
14
14
 
15
15
  何か原因として可能性がある事はありますでしょうか?
16
+
17
+
18
+
19
+ 表示されるIE
20
+
21
+ バージョン 11.37116299.0
22
+
23
+ 更新バージョン 11.0.60
24
+
25
+
26
+
27
+ 表示されないchrome
28
+
29
+ バージョン 66.0.3359.181
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+ ```php
38
+
39
+ <div class="c-searchBlock1">
40
+
41
+ <div class="c-searchBlock1__title">
42
+
43
+ <i class="c-icon c-icon--i65-1"></i>
44
+
45
+ <p>フリーワードで検索する :</p>
46
+
47
+ </div>
48
+
49
+ <div class="c-searchBlock1__input">
50
+
51
+ <div class="c-search">
52
+
53
+ <input type="text" class="search" value="" placeholder="エリアから検索">
54
+
55
+ <button><i class="c-icon c-icon--i72-2"></i></button>
56
+
57
+ </div>
58
+
59
+ </div>
60
+
61
+ ```
62
+
63
+
64
+
65
+ ```CSS
66
+
67
+ /* 検索入力
68
+
69
+ ------------------------------------------------------------*/
70
+
71
+ .c-searchBlock1 {
72
+
73
+ margin-top: 30px;
74
+
75
+ display: flex;
76
+
77
+ align-items: center;
78
+
79
+ justify-content: space-between;
80
+
81
+ }
82
+
83
+
84
+
85
+ @media screen and (max-width: 767px) {
86
+
87
+ .c-searchBlock1 {
88
+
89
+ background: #EFF1F0;
90
+
91
+ margin-top: 0;
92
+
93
+ margin-bottom: 0;
94
+
95
+ border-bottom: 1px solid #CFCFCF;
96
+
97
+ padding: 20px 11px;
98
+
99
+ display: block;
100
+
101
+ }
102
+
103
+ }
104
+
105
+
106
+
107
+ .c-searchBlock1__title {
108
+
109
+ display: flex;
110
+
111
+ align-items: center;
112
+
113
+ overflow: hidden;
114
+
115
+ }
116
+
117
+
118
+
119
+ .c-searchBlock1__title i {
120
+
121
+ width: 18px;
122
+
123
+ height: 18px;
124
+
125
+ margin-right: 5px;
126
+
127
+ }
128
+
129
+
130
+
131
+ .c-searchBlock1__title p {
132
+
133
+ font-size: 1.4rem;
134
+
135
+ }
136
+
137
+
138
+
139
+ @media screen and (max-width: 767px) {
140
+
141
+ .c-searchBlock1__title {
142
+
143
+ display: none;
144
+
145
+ }
146
+
147
+ }
148
+
149
+
150
+
151
+ .c-searchBlock1 .c-search {
152
+
153
+ width: 560px;
154
+
155
+ }
156
+
157
+
158
+
159
+ @media screen and (max-width: 767px) {
160
+
161
+ .c-searchBlock1 .c-search {
162
+
163
+ width: auto;
164
+
165
+ }
166
+
167
+ }
168
+
169
+
170
+
171
+ .c-searchBlock1 .c-search input {
172
+
173
+ width: 520px;
174
+
175
+ height: 35px;
176
+
177
+ font-size: 1.4rem;
178
+
179
+ }
180
+
181
+
182
+
183
+ @media screen and (max-width: 767px) {
184
+
185
+ .c-searchBlock1 .c-search input {
186
+
187
+ width: calc(100% - 40px);
188
+
189
+ margin-left: 0;
190
+
191
+ }
192
+
193
+ }
194
+
195
+
196
+
197
+ .c-searchBlock1 .c-search button {
198
+
199
+ width: 40px;
200
+
201
+ height: 35px;
202
+
203
+ }
204
+
205
+
206
+
207
+ .c-searchBlock1 .c-search button svg {
208
+
209
+ width: 20px;
210
+
211
+ }
212
+
213
+
214
+
215
+ @media screen and (max-width: 767px) {
216
+
217
+ .c-searchBlock1 .c-search button {
218
+
219
+ width: 13%;
220
+
221
+ }
222
+
223
+ }
224
+
225
+ ```