All Challenges
#61
Rotate 45deg
MediumCategory: Transitions & Animations
Rotate the diamond .diamond by 45 degrees using transform: rotate(45deg).
Target HTML in preview:
<div class="diamond" style="width: 40px; height: 40px; background: red;"></div>
Verification Criteria:
Set transform: rotate(45deg)
styles.css
Live EvaluationLoading...
|
Live Browser Output
Sandboxed Preview