this is rad stuff, allows you to position one element based on another element, WAIT FOR IT.. without it requiring parent / child relationships like fixed or absolute do. can think of it like pinning one element to another, with rules about which edges to match and stuff ๐ค twitter.com/intenttoship/sโฆ
Only a few lines of CSS needed if you want to line up two elements with custom aspect-ratios. ๐คฏ CodPen Example: codepen.io/enbee81/pen/OJโฆ More info in this: 9elements.com/blog/combined-โฆ pic.twitter.com/asYpbofu2G
CSS Grid is tricky. But I made some visuals and interactive examples that can help you understand better. A mega thread on CSS Grid layout:
The only CSS Flexbox cheatsheet you need. ๐ฏ โ With an interactive web app to learn. see comments ๐ pic.twitter.com/DsIoLmIYnb
CSS Cheat Sheet for Grid ๐ฅ pic.twitter.com/z8X1HecHwC
Wow... Okay, so here's something I've been trying to do for at least 10 years! A CSS-only responsive table with fixed column & row headers, inside a layout, with scroll snapping! ๐ฅณ codepen.io/scottjehl/pen/โฆ Works in: Firefox, Safari (iOS & Mac), Chrome (Mobile & Desktop), Edge
๐ฆ How the Box Model works in CSS ๐งต Thread ๐ pic.twitter.com/DgL9vyhByu