1.5 KiB
1.5 KiB
id | title | challengeType | dashedName |
---|---|---|---|
6140cd32d018ed0f600eefce | Passo 4 | 0 | step-4 |
--description--
Defina a propriedade position
do seletor .wheel
para absolute
. Defina height
e width
para 55vw
cada.
--hints--
O seletor .wheel
deve ter a propriedade position
definida para absolute
.
assert(new __helpers.CSSHelp(document).getStyle('.wheel')?.position === 'absolute');
O seletor .wheel
deve ter a propriedade height
definida para 55vw
.
assert(new __helpers.CSSHelp(document).getStyle('.wheel')?.height === '55vw');
O seletor .wheel
deve ter a propriedade width
definida para 55vw
.
assert(new __helpers.CSSHelp(document).getStyle('.wheel')?.width === '55vw');
--seed--
--seed-contents--
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Ferris Wheel</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div class="wheel">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<div class="cabin"></div>
<div class="cabin"></div>
<div class="cabin"></div>
<div class="cabin"></div>
<div class="cabin"></div>
<div class="cabin"></div>
</div>
</body>
</html>
--fcc-editable-region--
.wheel {
border: 2px solid black;
border-radius: 50%;
margin-left: 50px;
}
--fcc-editable-region--