freeCodeCamp/curriculum/challenges/italian/14-responsive-web-design-22/learn-intermediate-css-by-b.../60b69a66b6ddb80858c5157e.md

1.1 KiB

id title challengeType dashedName
60b69a66b6ddb80858c5157e Step 8 0 step-8

--description--

Assegna all'elemento back-wall una proprietà width del 100% e una proprietà height del 60%.

--hints--

Dovresti impostare la proprietà width del selettore #back-wall al 100%.

assert(new __helpers.CSSHelp(document).getStyle('#back-wall')?.width === '100%');

Dovresti impostare la proprietà height del selettore #back-wall al 60%.

assert(new __helpers.CSSHelp(document).getStyle('#back-wall')?.height === '60%');

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Picasso Painting</title>
    <link rel="stylesheet" href="./styles.css" />
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  </head>
  <body>
    <div id="back-wall"></div>
  </body>
</html>
body {
  background-color: rgb(184, 132, 46);
}

#back-wall {
  background-color: #8B4513;
  --fcc-editable-region--

  --fcc-editable-region--
}