質問編集履歴
2
SCSSと実行結果のCSSを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -42,4 +42,83 @@
|
|
42
42
|
書籍通り記述したはずなのですがうまくいかず、パッケージ名でググっても良い記事がヒットしません。。
|
43
43
|
もしわかる方いらっしゃれば教えていただきたいです。
|
44
44
|
|
45
|
-
よろしくお願いします。
|
45
|
+
よろしくお願いします。
|
46
|
+
|
47
|
+
### 追加情報(scssと実行結果)
|
48
|
+
例えばこの箇所です。
|
49
|
+
```scss
|
50
|
+
.l-header {
|
51
|
+
height: 68px;
|
52
|
+
|
53
|
+
&__wrapper {
|
54
|
+
position: relative;
|
55
|
+
padding: 0 4.26%;
|
56
|
+
display: flex;
|
57
|
+
justify-content: space-between;
|
58
|
+
align-items: center;
|
59
|
+
}
|
60
|
+
|
61
|
+
&__sp-menu {
|
62
|
+
position: absolute;
|
63
|
+
top: 24px;
|
64
|
+
right: 0;
|
65
|
+
|
66
|
+
span {
|
67
|
+
width: 26px;
|
68
|
+
height: 3px;
|
69
|
+
color: #3E3E3E;
|
70
|
+
border-radius: 50%;
|
71
|
+
|
72
|
+
&:nth-child(1) {
|
73
|
+
top: 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
&:nth-child(2) {
|
77
|
+
top: 5.5px;
|
78
|
+
}
|
79
|
+
|
80
|
+
&:nth-child(1) {
|
81
|
+
top: 8.5px;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
```
|
87
|
+
```CSS
|
88
|
+
.l-header {
|
89
|
+
height: 68px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.l-header__wrapper {
|
93
|
+
display: flex;
|
94
|
+
position: relative;
|
95
|
+
align-items: center;
|
96
|
+
justify-content: space-between;
|
97
|
+
padding: 0 4.26%;
|
98
|
+
}
|
99
|
+
|
100
|
+
.l-header__sp-menu {
|
101
|
+
position: absolute;
|
102
|
+
top: 24px;
|
103
|
+
right: 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
.l-header__sp-menu span {
|
107
|
+
width: 26px;
|
108
|
+
height: 3px;
|
109
|
+
border-radius: 50%;
|
110
|
+
color: #3E3E3E;
|
111
|
+
}
|
112
|
+
|
113
|
+
.l-header__sp-menu span:nth-child(1) {
|
114
|
+
top: 0;
|
115
|
+
}
|
116
|
+
|
117
|
+
.l-header__sp-menu span:nth-child(2) {
|
118
|
+
top: 5.5px;
|
119
|
+
}
|
120
|
+
|
121
|
+
.l-header__sp-menu span:nth-child(1) {
|
122
|
+
top: 8.5px;
|
123
|
+
}
|
124
|
+
```
|
1
タグにSassを追加
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|