News for hackers. Stuff that matters.
Re:Cutestrap: 8k CSS framework by sotojuan on Friday May 20, 2016 @01:28PM (#11739734)
Cool, but what does it offer that Pure (4kb doesn't)?

http://purecss.io

Re:Cutestrap: 8k CSS framework by hire_charts on Friday May 20, 2016 @01:35PM (#11739798)
From what I can tell, they have slightly different aims.

For instance, Cutestrap follows BEM naming conventions and uses KSS to generate its own documentation. KSS is a nice way of generating a pattern library of your own, as you start to extend your base CSS framework.

Also, one big difference is the way they handle grids. Cutestrap grids automatically stretch columns to fill up the horizontal space and allow you to provide weights. (This is essentially a very thin abstraction on top of flexbox.) Whereas Pure grids deal more with unit sizing, more like Bootstrap.

In general, Cutestrap is more opinionated (as its tagline implies) whereas Pure offers much more customizability. I'd argue that Pure should be used more like Bootstrap, as a way to prototype complex UIs before applying more custom styling, whereas Cutestrap should be more directly used as a base for your own, custom (and opinionated) styling.

Re:Cutestrap: 8k CSS framework by odonnellryan on Friday May 20, 2016 @02:00PM (#11740028)
PureCSS has been my go-to for small websites/web applications for a while. I only use Bootstrap for clients that:

1) Want to use it

2) Are already using it

3) Found a template they love they want to base the site off of

Re:Cutestrap: 8k CSS framework by xutopia on Friday May 20, 2016 @01:59PM (#11740016)
The grids are way nicer in cute. You just have to specify a grid container and the flex takes care of the rest.
Re:Cutestrap: 8k CSS framework by achairapart on Friday May 20, 2016 @03:04PM (#11740542)
Yes, but just one row at a time (it doesn't wrap). And with flexbox it's just 2 lines of CSS code anyway (unprefixed).
Re:Cutestrap: 8k CSS framework by tylerchilds on Friday May 20, 2016 @07:55PM (#11742453)
Originally I had one class with grid, direct children were rows and direct children of rows were cells, but it turned into div soup pretty quickly, so I opted for one row at a time.
Re:Cutestrap: 8k CSS framework by njovin on Friday May 20, 2016 @03:06PM (#11740554)
Pure doesn't have any SASS/LESS support, from what I can see.
Re:Cutestrap: 8k CSS framework by thrownunder on Friday May 20, 2016 @05:44PM (#11741769)
tbh, I've been keeping tabs on alternatives to Pure because Yahoo is circling the drain. It's nice to have it there just in case.
Re:Cutestrap: 8k CSS framework by nikolay on Friday May 20, 2016 @01:57PM (#11739992)
Cuteness, I guess. ;)
Re:Cutestrap: 8k CSS framework by avitzurel on Friday May 20, 2016 @02:42PM (#11740391)
4 more kilobytes. :)
Re:Cutestrap: 8k CSS framework by incepted on Friday May 20, 2016 @02:57PM (#11740497)
Here is a penny so you can by some more ram. You can keep the change.