What did I do wrong? @ skewX CSS challenge

What did I do wrong? @ skewX CSS challenge
0

#1

Tell us what’s happening:
Can’t pass this challenge, it tells me to use “transform: skewX(-24deg)” on my bottom element (the blue box), and I even see it as skewed in the code-preview section. Did I do anything wrong?

Your code so far



<style>
  div { 
    width: 70%;
    height: 100px;
    margin:  50px auto;
  }
  #top {
    background-color: red;
  }
  #bottom {
    background-color: blue;
    transform: skewX(-24deg);
  }
</style>

<div id="top"></div>
<div id="bottom"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Link to the challenge:


#2

It is 24deg not -24deg.