Skip to content

Commit

Permalink
Fix typos. Fixes desandro#30, desandro#31
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Mar 30, 2020
1 parent 0b0283e commit 6f4c7fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions box.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ The CSS the same as the cube's, with size values changed: `width: 300px`, `heigh
}

.box {
width: 200px;
height: 300px;
width: 300px;
height: 200px;
position: relative;
transform-style: preserve-3d;
transform: translateZ(-50px);
Expand Down
2 changes: 1 addition & 1 deletion cube.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Basic position and size styles set the 6 faces on top of one another in the cont
</div>
</div>

Now all the faces are placed on top of one another, ready to be rotated. `.cube__face--left` and `.cube__face--right` will use `rotateX()` so they are rotated around the vertical X axis.
Now all the faces are placed on top of one another, ready to be rotated. `.cube__face--top` and `.cube__face--bottom` will use `rotateX()` so they are rotated around the vertical X axis.

{% highlight css %}
.cube__face--front { transform: rotateY( 0deg); }
Expand Down

0 comments on commit 6f4c7fb

Please sign in to comment.