--- id: 6140d3dc359b371b1a21d783 title: ステップ 14 challengeType: 0 dashedName: step-14 --- # --description-- では観覧車の周りにカゴ (cabin) を配置していきましょう。 1 つ目の `.cabin` 要素を選択してください。 `right` プロパティを `-8.5%` に、`top` プロパティを `50%` に設定してください。 # --hints-- `.cabin:nth-of-type(1)` セレクターが必要です。 ```js const def = (s) => new __helpers.CSSHelp(document).getStyle(s) assert.exists(def('.cabin:first-of-type') || def('.cabin:nth-of-type(1)')); ``` `.cabin:nth-of-type(1)` セレクターの `right` プロパティを `-8.5%` に設定する必要があります。 ```js const right = (s) => new __helpers.CSSHelp(document).getStyle(s)?.right assert.equal(right('.cabin:nth-of-type(1)') || right('.cabin:first-of-type'), '-8.5%'); ``` `.cabin:nth-of-type(1)` セレクターの `top` プロパティを `50%` に設定する必要があります。 ```js const top = (s) => new __helpers.CSSHelp(document).getStyle(s)?.top assert.equal(top('.cabin:nth-of-type(1)') || top('.cabin:first-of-type'),'50%'); ``` # --seed-- ## --seed-contents-- ```html