@joeattardi
Veteran Software Developer | Web & Front-End Expert | Author | Tech Writer | Blogger
Software developer since 2004. Web/front-end expert (HTML, CSS, JS). O'Reilly and Apress author. Freelance tech writer. Blogger. Bridging code and communication in tech.
Nothing here yet.
The section on position: absolute is not quite accurate - the element is not necessarily positioned relative to its parent container. An absolutely positioned element is positioned relative to the nearest ancestor (not necessarily direct parent) that has a position other than static . Sometimes it can get a little tricky. To make an absolutely positioned element relative to its containing element, you can just set position: relative on the parent.
When I first discovered Tailwind I was all "THIS IS AWESOME!" and was all in on using it. I even started working on a proposal for a book about it (lucky that I didn't go forward with that as v2 came out like 2 months later). Over time I have come to find it a little verbose with all the classes. Tailwind definitely has its uses but I typically reach for good old CSS these days.