freeCodeCamp/curriculum/challenges/italian/14-responsive-web-design-22/learn-css-transforms-by-bui.../61a8fe15a6a31306e60d1e89.md

1.0 KiB

id title challengeType dashedName
61a8fe15a6a31306e60d1e89 Step 4 0 step-4

--description--

Normalizza la pagina, impostando width al 100% e height a 100vh.

--hints--

Dovresti dare a body una proprietà width di --fcc-expected--, invece di --fcc-actual--.

assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.width, '100%');

Dovresti dare a body una proprietà height di --fcc-expected--, invece di --fcc-actual--.

assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.height, '100vh');

--seed--

--seed-contents--

<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="./styles.css" />
    <title>Penguin</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>

  <body>
  </body>
</html>
--fcc-editable-region--
body {
  background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
  margin: 0;
  padding: 0;

}
--fcc-editable-region--