News for hackers. Stuff that matters.
Re:Show HN: StringBean – 4K Featherweight Framework by carapace on Wednesday March 16, 2016 @01:34PM (#11299119)
Light grey sans-serif body text means you hate your readers. Making it small means you really hate them.
Re:Show HN: StringBean – 4K Featherweight Framework by Narutu on Wednesday March 16, 2016 @01:38PM (#11299159)
Thank you for your suggestion.
Re:Show HN: StringBean – 4K Featherweight Framework by chris_overseas on Wednesday March 16, 2016 @01:09PM (#11298902)
The special casing for handling a three way split seems clunky at first glance. Why not use a 24-point system rather than 16?
Re:Show HN: StringBean – 4K Featherweight Framework by Narutu on Wednesday March 16, 2016 @01:25PM (#11299044)
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.

Re:Show HN: StringBean – 4K Featherweight Framework by DiggityDug7 on Wednesday March 16, 2016 @04:12PM (#11300319)
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.
Re:Show HN: StringBean – 4K Featherweight Framework by zem on Wednesday March 16, 2016 @01:52PM (#11299275)
it should not take me two clicks to find out "framework for what?". the front page (and this link) should both say "4k featherweight css framework"
Re:Show HN: StringBean – 4K Featherweight Framework by nvader on Wednesday March 16, 2016 @08:46PM (#11301868)
I couldn't find any license information. What license is this released under?

You may also want to add that as a LICENSE file to your repo.

Re:Show HN: StringBean – 4K Featherweight Framework by jplur on Wednesday March 16, 2016 @02:11PM (#11299446)
The code boxes with the ::before and ::after shadows are gorgeous.
Re:Show HN: StringBean – 4K Featherweight Framework by mc_hammer on Wednesday March 16, 2016 @10:56AM (#11297800)
i think the pull-left pull-right code example is missing the pull classes. very cool, will give it a try
Re:Show HN: StringBean – 4K Featherweight Framework by Narutu on Wednesday March 16, 2016 @01:44PM (#11299218)
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.

Re:Show HN: StringBean – 4K Featherweight Framework by viciousambition on Wednesday March 16, 2016 @02:58PM (#11299807)
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 by Narutu on Wednesday March 16, 2016 @03:01PM (#11299830)
Great spot. I apologise to the original commenter, the classes were indeed missing.