Files
Nicholas Carrigan (he/him) 06651d7043 chore: rename ferris wheel (#44213)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:38:19 -06:00

1.4 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
617ace7d831f9c16a569b38a Step 5 0 step-5

--description--

Give your .wheel selector a max-height and max-width property both set to 500px.

--hints--

Your .wheel selector should have a max-height property set to 500px.

assert(new __helpers.CSSHelp(document).getStyle('.wheel')?.maxHeight === '500px');

Your .wheel selector should have a max-width property set to 500px.

assert(new __helpers.CSSHelp(document).getStyle('.wheel')?.maxWidth === '500px');

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title> Learn CSS Animations by Building a 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;
  height: 55vw;
  width: 55vw;
}
--fcc-editable-region--