News for hackers. Stuff that matters.
Re:Use ReactJS to Build Native Apps by yuchi on Wednesday January 28, 2015 @03:56PM (#8962498)
You can do that with some funny inline-block wizardy on Vanilla CSS by the way. I don’t currently know if flex-box helps here. I think not.
Re:Use ReactJS to Build Native Apps by carterehsmith on Wednesday January 28, 2015 @06:35PM (#8963274)
Source? AFAIK if you want your border, padding and margin respected, there is no way to do the above in vanilla CSS. Which is why css-flexbox was proposed.
Re:Use ReactJS to Build Native Apps by yuchi on Thursday January 29, 2015 @02:31AM (#8964807)
Here it is (it’s border-{top, bottom} based, not inline-block) http://www.mademyday.de/css-height-equals-width-with-pure-cs...

The issue is that it’s only width-constrained.