Show HN: Taffy – CSS Grid (+Flexbox) as a library
github.com
github.com
The Flexbox implementation has been around from a few years, and was inherited from Taffy's abandoned predecessor library Stretch (which was previously featured on HN [0]) which was itself indirectly derived from Yoga [1] the C++ library which powers React Native.
What's new here is the CSS Grid implementation, which I believe is the first CSS Grid implementation available as an easily embeddable library rather than as part of a web browser. Meaning you can now get both 1D and 2D layout from the same library.
The CSS Grid implementation was written by me. So AMA.
[0]: https://news.ycombinator.com/item?id=19780790 [1]: https://github.com/facebook/yoga