--- id: 612ea97df5742154772f312e title: Step 19 challengeType: 0 dashedName: step-19 --- # --description-- Nel selettore `.key.black--key::after` imposta la proprietà `position` su `absolute` e la proprietà `left` a `-18px`. # --hints-- Il selettore `.key.black--key::after` dovrebbe avere una proprietà `position` impostata su `absolute`. ```js assert(new __helpers.CSSHelp(document).getStyle('.key.black--key::after')?.position === 'absolute'); ``` Il selettore `.key.black--key::after` dovrebbe avere una proprietà `left` impostata a `-18px`. ```js assert(new __helpers.CSSHelp(document).getStyle('.key.black--key::after')?.left === '-18px'); ``` # --seed-- ## --seed-contents-- ```html Piano
``` ```css html { box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; } #piano { background-color: #00471b; width: 992px; height: 290px; margin: 80px auto; padding: 90px 20px 0 20px; } .keys { background-color: #040404; width: 949px; height: 180px; padding-left: 2px; } .key { background-color: #ffffff; position: relative; width: 41px; height: 175px; margin: 2px; float: left; } --fcc-editable-region-- .key.black--key::after { background-color: #1d1e22; content: ""; } --fcc-editable-region-- ```