質問編集履歴

2

SCSSと実行結果のCSSを追加

2019/05/20 03:08

投稿

kadot
kadot

スコア27

test CHANGED
File without changes
test CHANGED
@@ -87,3 +87,161 @@
87
87
 
88
88
 
89
89
  よろしくお願いします。
90
+
91
+
92
+
93
+ ### 追加情報(scssと実行結果)
94
+
95
+ 例えばこの箇所です。
96
+
97
+ ```scss
98
+
99
+ .l-header {
100
+
101
+ height: 68px;
102
+
103
+
104
+
105
+ &__wrapper {
106
+
107
+ position: relative;
108
+
109
+ padding: 0 4.26%;
110
+
111
+ display: flex;
112
+
113
+ justify-content: space-between;
114
+
115
+ align-items: center;
116
+
117
+ }
118
+
119
+
120
+
121
+ &__sp-menu {
122
+
123
+ position: absolute;
124
+
125
+ top: 24px;
126
+
127
+ right: 0;
128
+
129
+
130
+
131
+ span {
132
+
133
+ width: 26px;
134
+
135
+ height: 3px;
136
+
137
+ color: #3E3E3E;
138
+
139
+ border-radius: 50%;
140
+
141
+
142
+
143
+ &:nth-child(1) {
144
+
145
+ top: 0;
146
+
147
+ }
148
+
149
+
150
+
151
+ &:nth-child(2) {
152
+
153
+ top: 5.5px;
154
+
155
+ }
156
+
157
+
158
+
159
+ &:nth-child(1) {
160
+
161
+ top: 8.5px;
162
+
163
+ }
164
+
165
+ }
166
+
167
+ }
168
+
169
+ }
170
+
171
+ ```
172
+
173
+ ```CSS
174
+
175
+ .l-header {
176
+
177
+ height: 68px;
178
+
179
+ }
180
+
181
+
182
+
183
+ .l-header__wrapper {
184
+
185
+ display: flex;
186
+
187
+ position: relative;
188
+
189
+ align-items: center;
190
+
191
+ justify-content: space-between;
192
+
193
+ padding: 0 4.26%;
194
+
195
+ }
196
+
197
+
198
+
199
+ .l-header__sp-menu {
200
+
201
+ position: absolute;
202
+
203
+ top: 24px;
204
+
205
+ right: 0;
206
+
207
+ }
208
+
209
+
210
+
211
+ .l-header__sp-menu span {
212
+
213
+ width: 26px;
214
+
215
+ height: 3px;
216
+
217
+ border-radius: 50%;
218
+
219
+ color: #3E3E3E;
220
+
221
+ }
222
+
223
+
224
+
225
+ .l-header__sp-menu span:nth-child(1) {
226
+
227
+ top: 0;
228
+
229
+ }
230
+
231
+
232
+
233
+ .l-header__sp-menu span:nth-child(2) {
234
+
235
+ top: 5.5px;
236
+
237
+ }
238
+
239
+
240
+
241
+ .l-header__sp-menu span:nth-child(1) {
242
+
243
+ top: 8.5px;
244
+
245
+ }
246
+
247
+ ```

1

タグにSassを追加

2019/05/20 03:08

投稿

kadot
kadot

スコア27

test CHANGED
File without changes
test CHANGED
File without changes