PDF Page Reorder - Online Drag & Drop Sort
Rearrange PDF pages by dragging thumbnails. Delete unwanted pages. Merge the result. Private, local processing.
UD5 Toolkit
Interactive visual comparison of CSS Grid fr, auto, and fixed (px) track sizing — adjust, compare, and learn in real time.
fr (fraction) unit distributes remaining free space proportionally among tracks, ignoring content size. auto sizes the track based on its content — the largest item in that column determines the width. When you use 1fr 1fr, both columns get equal shares of available space. With auto auto, column widths depend entirely on what's inside them.fr for flexible layouts that should adapt to the viewport. A common pattern is 250px 1fr — a fixed sidebar with a fluid content area. Fixed values can cause overflow on small screens; fr values always stay within the container.minmax(min, max) sets a range for a track. For example, minmax(100px, 1fr) means the column will be at least 100px wide, but can grow to fill available space. minmax(auto, 1fr) uses the content size as the minimum. This combines the best of both worlds — content-awareness from auto and flexibility from fr. It's especially useful in responsive layouts to prevent columns from becoming too narrow.overflow: hidden, overflow: auto (scroll), or word-break: break-word. With fr units, the column can grow within available space. With auto, the column expands to fit the content. Fixed columns require careful handling of overflow edge cases.200px 2fr 1fr auto — a fixed sidebar, a main content area that's twice as wide as the secondary column, and an auto-sized column for metadata or icons. CSS Grid is designed for this kind of mixed sizing. The browser first allocates space to fixed and auto tracks, then distributes the remainder among fr tracks.gap property consumes space before fr units are calculated. For example, with grid-template-columns: 1fr 1fr 1fr and gap: 20px on an 800px container, the browser subtracts 40px (2 gaps × 20px) first, leaving 760px to be divided among the three 1fr tracks (≈253px each). Understanding this order of operations is key to precise layout design.auto tracks may appear evenly distributed — similar to 1fr. The difference becomes clear when you change content lengths or resize the container. Try the "Content-Driven" scene above to see how varying content lengths reveal the true nature of auto sizing.repeat(auto-fit, minmax(250px, 1fr)) for responsive card grids — this automatically creates as many columns as fit, each at least 250px wide and sharing remaining space equally. For page layouts, use a combination like minmax(0, 1fr) minmax(0, 3fr) for a sidebar + main content ratio. Always test on multiple screen sizes and use media queries to adjust grid-template-columns for major breakpoints.Rearrange PDF pages by dragging thumbnails. Delete unwanted pages. Merge the result. Private, local processing.
Visual reference for CSS Grid properties. Click to see code snippets and visual demos.
Add appliances with running and starting watts to estimate needed generator capacity. Prevent overload.
Place multiple grid items into the same cells to create overlapping layouts. Learn the technique visually. Copy code.
Use named grid lines instead of column numbers. See how they simplify placement. Visual, interactive learning.
See how grid-auto-flow: row vs column changes item placement. Add and remove items to understand the algorithm. Visual.
Practice aligning grid items and tracks with the place‑items, align‑content, and justify‑content properties. Visual guide.
Build the same layout with both Grid and Flexbox side by side. See the code differences and visual results.
Add rows and columns, merge cells, and set gaps visually. Get the grid‑template CSS and HTML. Fast layout prototyping.
See how align‑items: baseline works in grid to align different font sizes on the same baseline. Visual guide.
Add grid items beyond defined tracks and see how implicit rows/columns expand. Set sizes interactively. Master the grid.
Resize the container and see the difference between repeat(auto‑fill, …) and auto‑fit. Understand responsive grid behavior.
Experiment with CSS Grid properties visually. Add rows, columns, and areas. See the grid in action and copy the code.