Skip to content

Conversation

@arisdelacruz
Copy link
Contributor

Description

This is an attempt to create the rotateY entry for CSS.

Issue Solved

Closes #7496

Type of Change

  • Adding a new entry

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.
@dakshdeepHERE dakshdeepHERE self-assigned this Aug 28, 2025
@dakshdeepHERE dakshdeepHERE added css CSS entries new entry New entry or entries status: under review Issue or PR is currently being reviewed labels Aug 28, 2025
@dakshdeepHERE dakshdeepHERE added hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest labels Oct 15, 2025
Copy link
Collaborator

@dakshdeepHERE dakshdeepHERE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few comments for you to work on @arisdelacruz, please do the changes and ping me once they are done.


The `rotateY()` function is a CSS transform function that allows you to rotate an element around the Y-axis (the vertical axis) in 3D space. This function is particularly useful for creating 3D effects and animations on web pages.

### Syntax
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use H2 for syntax

transform: rotateY(angle);
```

### Parameters
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to use h3 for parameters instead you can write it like:

**Parameters:** 

- `angle`: The angle of rotation, which can be specified in degrees (deg) or radians (rad). Positive values rotate the element clockwise, while negative values rotate it counterclockwise.

### Example
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This have to be h2

transform: rotateY(45deg);}
```

In this example, the element with the class `box` will be rotated 45 degrees around the Y-axis.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you create and attach a gif and image to showcase what the above code block does?


In this example, the element with the class `box` will be rotated 45 degrees around the Y-axis.

### Browser Compatibility
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for a separate header for this instead use the note feature like:

> **Note:** 
@dakshdeepHERE dakshdeepHERE added status: waiting for author and removed status: under review Issue or PR is currently being reviewed hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest labels Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css CSS entries new entry New entry or entries status: waiting for author

2 participants