52 lines
942 B
Markdown
52 lines
942 B
Markdown
---
|
|
id: 61968e9243a4090cc805531c
|
|
title: Step 5
|
|
challengeType: 0
|
|
dashedName: step-5
|
|
---
|
|
|
|
# --description--
|
|
|
|
Rimuovi sia le barre di scorrimento orizzontali che verticali e previeni lo scorrimento, utilizzando solo una proprietà.
|
|
|
|
# --hints--
|
|
|
|
Dovresti dare all'elemento `body` una proprietà `overflow` con il valore `clip`.
|
|
|
|
```js
|
|
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.overflow, 'clip');
|
|
```
|
|
|
|
# --seed--
|
|
|
|
## --seed-contents--
|
|
|
|
```html
|
|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="stylesheet" type="text/css" 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--
|
|
```
|