Table of Contents
Flexbox Labs is a visual tool that helps you create layouts using CSS Flexbox. It offers an intuitive interface that shows changes in real-time, making it easy to experiment and learn.
- Live Preview: Preview changes in real-time as you adjust parameters.
- Playground Customization: Add, delete, or duplicate flex items.
- Undo and Redo Changes: Easily revert or redo modifications for easy experimentation.
- Edit Flex Properties: Edit both flex container and individual flex item properties.
- Save/Load Layouts: Save, load or delete custom layouts.
- Pre-build Layouts: Load pre-built layouts/templates.
- Export HTML and CSS Code: Get HTML and CSS code for the generated layout.
Visit the live demo and explore the playground using the toolbar. To customize the flex container, navigate to the Edit tab. Select any item from the playground to modify its individual flex properties. Once satisfied with your layout, click the code button on the tab to get the generated HTML and CSS code.
Check out the live demo of Flexbox Labs: Demo
git clone https://github.com/your-username/flexbox-labs.git
npm install
cd flexbox-labs
npm run dev
Visit http://localhost:5173 in your browser.
You are welcome to contributions to Flexbox Labs! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/new-feature
- Make your changes and commit them:
git commit -m 'Add new feature'
- Push to the branch:
git push origin feature/new-feature
- Submit a pull request outlining the changes you've made.
- Wait for me to review and merge your pull request
Flexbox Labs is licensed under the MIT License.
If you have any feedback, suggestions, or issues, please open an issue. Your input is appreciated!