This is a Vue.js app that allows you to interactively manipulate a 3D box using CSS transforms. You can adjust the perspective, rotation on the X, Y, and Z axes, and even copy the generated CSS code to use in your projects.
To run the app locally, follow these steps:
-
Clone the repository:
git clone https://github.com/casmir293/vue-js-3d-css-transform-app.git
-
Navigate to the project directory:
cd vue-js-3d-css-transform-app
-
Install dependencies:
npm install
-
Run the development server:
npm run serve
- Open your web browser and go to the app's URL (e.g., http://localhost:8080).
- Use the sliders to adjust the perspective and rotation of the 3D box.
- Click the "Reset" button to reset the transformations to their default values.
- Click the "Copy" button to copy the generated CSS transform code to the clipboard.
- Interactive 3D box manipulation using CSS transforms.
- Adjust perspective, rotateX, rotateY, and rotateZ properties.
- Copy the generated CSS transform code with a single click.
You can see a live demo of the app here.
The app is built using the following technologies:
- Vue.js
- CSS
- CSS-Doodle (for the animated background)
I welcome contributions to improve this app! If you want to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request.