A CSS flexbox playground that visualizes the workflow of CSS flexbox
Flexit is built with an intension to help the beginners and some learners who face difficulty to understand the concept of flexbox. Flexit visualizes the working of flexbox and its behaviour when a certain property is applied or updated.
Dark Mode | Light Mode |
---|---|
-
Theme: The icon on top-left side of browser changes the theme of playground is switched to light from dark and vice-verse. The browser renders the app in dark mode if you prefer dark mode or it renders in light mode. But you always have the ability to switch it as per your convinience.
-
Select: To select a certain flex-item, just click on it.
-
Add Child: On clicking the Add Child button, a new child item is added to flex container.
-
Remove Child: The selected item is removed from DOM when Remove Child button is clicked and a random flex-item is selected from the existing flex-items.
-
Full Screen/Normal Screen: Click on Full Screen button to open app in full screen mode and click Normal Screen to exit full screen mode.
-
Parent Styles: Update/change parent properties according to your choice and the choosen property is applied to flex container and it changes accordingly.
-
Child Styles: Update/change child properties according to your choice and the choosen property is applied to selected flex-tem.
While working on this project I got to learn a lot new things.
- Using Custom Scrollbars
- Switching Theme
- Opening window in fullscreen mode.
- Behaviour of
this
in regular functions and arrow functions.
- Code Generation
- Tooltips for all properties
- Undo/Redo actions
- Render tips and tricks about Flexbox while loading
- Render theme according to time