質問編集履歴

1

.example2を追加

2017/10/06 10:07

投稿

cotton88
cotton88

スコア87

test CHANGED
File without changes
test CHANGED
@@ -94,6 +94,20 @@
94
94
 
95
95
  }
96
96
 
97
+ .example2 {
98
+
99
+ &::before {
100
+
101
+ @include chair(3);
102
+
103
+ top: 15px;
104
+
105
+ left: 1%;
106
+
107
+ }
108
+
109
+ }
110
+
97
111
  ```
98
112
 
99
113
 
@@ -120,6 +134,26 @@
120
134
 
121
135
  }
122
136
 
137
+ .example2::before {
138
+
139
+ content: "";
140
+
141
+ position: absolute;
142
+
143
+ display: block;
144
+
145
+ width: 210px;
146
+
147
+ height: 183px;
148
+
149
+ background: url(/assets/images/parts-chair3.png) 0 0 no-repeat;
150
+
151
+ top: 15px;
152
+
153
+ left: 1%;
154
+
155
+ }
156
+
123
157
  ```
124
158
 
125
159
  ※parts-chair1.pngのオリジナルサイズは、横210px縦183pxになります。