This web app provides a playground for practicing CSS Flexbox
layout properties. You can dynamically adjust various flex properties and see the changes in real-time.
You can try the live demo of the app here.
- Interactive controls to manipulate flex properties such as
justify-content
,align-items
,align-content
,flex-direction
,flex-wrap
,row-gap
,column-gap
,align-self
,flex-basis
,order
,flex-grow
, andflex-shrink
. - Visual representation of flex containers and child elements with different flex properties applied.
- Responsive design to ensure usability on various screen sizes.
- HTML
- CSS
- JavaScript
- Clone this repository to your local machine:
git clone https://github.com/salimov333/flexbox-playground.git
-
Open
index.html
in your web browser. -
Use the interactive controls in the left panel to adjust flex properties and see the changes applied to the flex container and child elements in the right panel.
-
Experiment with different combinations of flex properties to understand their effects on layout and alignment.
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch (git checkout -b feature/your-feature-name).
- Make your changes.
- Commit your changes (git commit -am 'Add some feature').
- Push to the branch (git push origin feature/your-feature-name).
- Create a new Pull Request.
This web app was created by Salem Helwani