Live data from Hacker News

Show HN: StringBean – 4K Featherweight Framework

stringbean-lang.com

11–14 of 14 posts

Re: Show HN: StringBean – 4K Featherweight Framework

#11
post #7

i think the pull-left pull-right code example is missing the pull classes. very cool, will give it a try

Thee "pull-left" and "pull-right" classes were added into v2.2 (in the Github repository) in addition to the similar "float-left" and "float-right" classes. These additions have been merged into the Master branch this afternoon. The example site is running on v2.1 which uses the float-left and float-right classes. Hope this helps.

I think (s)he means they're not present in the sample code under "pull-left & pull-right". The code block's divs just have column and size classes.

Re: Show HN: StringBean – 4K Featherweight Framework

#12
post #7

i think the pull-left pull-right code example is missing the pull classes. very cool, will give it a try

Thee "pull-left" and "pull-right" classes were added into v2.2 (in the Github repository) in addition to the similar "float-left" and "float-right" classes. These additions have been merged into the Master branch this afternoon. The example site is running on v2.1 which uses the float-left and float-right classes. Hope this helps.

Great spot. I apologise to the original commenter, the classes were indeed missing.

Re: Show HN: StringBean – 4K Featherweight Framework

#13
post #4

The special casing for handling a three way split seems clunky at first glance. Why not use a 24-point system rather than 16?

Thank you for your comment/suggestion. Did think about a 24 unit approach, however we concluded it was not the way forward as the unit widths at 24-points would be ok at 4K, but at sub-4K they would be negligible, and the developer would need to work in multiples.

Well the 12-unit grid is normally chosen based on being divisible by [1,2,3,4,6,12]. 16-unit is divisible by [1,2,4,8,16], but I see that you added a "thirds" class to deal with that. 20-unit could be an option as it covers divisibility by [1,2,4,5,10,20] but also critically ignores 3 column. 24-unit (the product of the first four positive integers) is divisible by [1,2,3,4,5,6,8,12,24], so it would naturally allow the most flexibility at the cost of very granular 1/24 elements.
Post reply on HN