π Flex Gridπ
π» Using "Display:Flex" turns this section into a flex container with flex items. π»
π·οΈ Flex items can use "flex-grow", "flex-shrink", and "flex-basis". πΈοΈ
π¦ Flex Properties
π₯§"Flex-Grow"
This allows items to grow to fill the available space.
πββ¬ "Flex-Shrink"
This allows items to shrink when there is no space available.
"Flex-Basis"
This sets the items to a specific size before they grow or shrink.
π This box spans the entire row using "flex-basis" π
π§π»ββοΈ Scrolling Properties
"Scroll-Snap-Type"
π This allows the items to scroll in the container on an axis. This section uses"Scroll-snap-type:x" to scroll horizontally. π