--- id: 60b69a66b6ddb80858c5158c title: Step 22 challengeType: 0 dashedName: step-22 --- # --description-- Usando un selettore `id`, crea una regola per l'elemento `black-mask`. Dagli una proprietà `width` del `100%`, una proprietà `height` di `50px` e un `background-color` con il valore `rgb(45, 31, 19)`. # --hints-- Dovresti avere un selettore `#black-mask`. ```js assert(new __helpers.CSSHelp(document).getStyle('#black-mask')); ``` Il selettore `#black-mask` dovrebbe avere una proprietà `width` impostata sul `100%`. ```js assert(new __helpers.CSSHelp(document).getStyle('#black-mask')?.width === '100%'); ``` Il selettore `#black-mask` dovrebbe avere una proprietà `height` impostata a `50px`. ```js assert(new __helpers.CSSHelp(document).getStyle('#black-mask')?.height === '50px'); ``` Il selettore `#black-mask` dovrebbe avere una proprietà `background-color` con il valore `rgb(45, 31, 19)`. ```js assert(new __helpers.CSSHelp(document).getStyle('#black-mask')?.backgroundColor === 'rgb(45, 31, 19)'); ``` # --seed-- ## --seed-contents-- ```html