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

52 lines
957 B
Markdown

---
id: 61968e9243a4090cc805531c
title: Step 5
challengeType: 0
dashedName: step-5
---
# --description--
Rimuovi sia la barra di scorrimento orizzontale che verticale, utilizzando una sola proprietà.
# --hints--
Dovresti dare all'elemento `body` una proprietà `overflow` con il valore `--fcc-expected--`. Valore trovato `--fcc-actual--`.
```js
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.overflow, 'hidden');
```
# --seed--
## --seed-contents--
```html
<!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>
```
```css
--fcc-editable-region--
body {
background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
}
--fcc-editable-region--
```