Rotate CSS Property - Learn CSS Transforms by Building a Penguin - Step 84
See original GitHub issueDescribe the Issue
Individual Transform is recently added to the specification module level 2 and allows developer to use rotate: 90deg
as opposed to transform: rotate(90deg)
. Most browsers has adopted this feature and I can see it simplifies the coding experience as it is easier to remember.
Obviously it is new and might be a concern in backward-compatibility, however it would be weird to create a website that uses the rotate transform to support old browser in general.
Affected Page
Your code
.foot.left {
left: 25%;
rotate: 80deg;
/* transform: rotate(80deg); */
}
.foot.right {
right: 25%;
rotate: -80deg;
/* transform: rotate(-80deg); */
}
Expected behavior
It should be accepted
Screenshots
System
- Device: PC
- OS: Windows 10
- Browser: Brave
- Version: Latest
Additional context
Correct me if I’m wrong, I am still new in using GitHub with other people 😃
Issue Analytics
- State:
- Created a year ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Learn CSS Transforms by Building a Penguin - Step 54
Learn CSS Transforms by Building a Penguin - Step 54 - HTML-CSS - The freeCodeCamp Forum.
Read more >Step 1 | Learn CSS Transforms by Building a Penguin
You will be building a happy Flappy Penguin, and further exploring CSS transforms and animations in the process. Begin with your basic HTML...
Read more >A Complete Guide To CSS Transforms And Transitions Property
CSS Transforms and Transitions property can do the trick! CSS Transform property applies movement, rotation, skewing, and scaling to the HTML ...
Read more >Archives – CSS Weekly
How To Create Advanced Animations With CSS ... Grained Control Over CSS Transforms With Individual Transform Properties ... 3 Days of Intense Learning....
Read more >My First Penguin - FreeCodeCamp - CodePen
<p>Creating my first penguin from scratch using a freecodecamp lesson as an example. Additionally, using CSS Variables to change many CSS styles properties...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m going to disagree just a little here.
Can I Use: CSS property: rotate
Firefox has had this for a while now but Chrome/Edge have only had it for the last few new versions. People from all over the world use this site. Not all of them have the latest versions of things. If the rotation was crucial for my website then I would not use the
rotate
property if I wanted everyone to see it.I guess it depends if we are OK with some people not passing this step and the only solution is to upgrade their browser and they might not be able to.
There are multiple steps that require, using
transform:
, I have listed them below.I think the test should accept the values, because they are rendered correctly and consider a correct syntax.
Should the description be changed?
The files