Open Holayn opened 4 years ago
https://tailwindcss.com/docs/utility-first
more reading:
https://medium.com/@cole_peters/building-and-shipping-functional-css-4f29b947bcb9
https://acss.io/frequently-asked-questions.html#what-is-atomic-css-
https://www.smashingmagazine.com/2013/10/challenging-css-best-practices-atomic-approach/
"Content semantics have NOTHING TO DO WITH VISUAL STYLES. When I used to build things with legos I never thought ‘oh this is a piece for an engine block’ I thought ‘oh cool this is a 1x4 blue lego and I can do anything I want with it’. It didn't matter if I was building an underwater aquanauts base or an airplane - I knew exactly how to use that lego block.
It’s all about lego bits. Because I never needed to re-contextualize my understanding of lego blocks. I could use them across ‘projects’ and they were always the same. I dream of this world in front-end development. I want lego blocks that work everywhere because there is serious power in leveraging solutions that are project agnostic."
Using absolute properly: https://tailwindcss.com/course/positioning-the-dropdown-area