--- id: 60ffe69ee377c6055e192a46 title: Step 51 challengeType: 0 dashedName: step-51 --- # --description-- Per lo stile del pulsante Submit, puoi usare un selettore di _attributi_ che seleziona un elemento in base al valore di uno specifico attributo. Ecco un esempio: ```css input[name="password"] ``` Con questa sintassi selezioni gli elementi `input` con un attributo `name` con il valore `password`. Adesso, usa il selettore attributi per lo stile del pulsante Submit con una proprietà `display` di `block`, e una proprietà `width` del `60%`. # --hints-- Dovresti usare un selettore di attributi di `input[type="submit"]` per agire sullo stile del pulsante Submit. ```js assert.exists(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')); ``` Dovresti assegnare al pulsante Submit una proprietà `display` con il valore `block`. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')?.display, 'block'); ``` Dovresti assegnare al pulsante Submit una proprietà `width` del `60%`. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('input[type="submit"]')?.width, '60%'); ``` # --seed-- ## --seed-contents-- ```html Registration Form

Registration Form

Please fill out this form with the required information

``` ```css body { width: 100%; height: 100vh; margin: 0; background-color: #1b1b32; color: #f5f6f7; font-family: Tahoma; font-size: 16px; } h1, p { margin: 1em auto; text-align: center; } form { width: 60vw; max-width: 500px; min-width: 300px; margin: 0 auto; } fieldset { border: none; padding: 2rem 0; border-bottom: 3px solid #3b3b4f; } fieldset:last-of-type { border-bottom: none; } label { display: block; margin: 0.5rem 0; } input, textarea, select { margin: 10px 0 0 0; width: 100%; min-height: 2em; } input, textarea { background-color: #0a0a23; border: 1px solid #0a0a23; color: #ffffff; } .inline { width: unset; margin: 0 0.5em 0 0; vertical-align: middle; } --fcc-editable-region-- --fcc-editable-region-- ```