News for hackers. Stuff that matters.

Ask HN: Which CSS/HTML frameworks should I consider for modern web development?

Hey all,

I'm putting a stack together for a new website which I am building from scratch. It will only target modern browsers with full flex-box support. This greatly reduces, but, presumably, does not eliminate cross-browser rendering discrepancies.

The plan is to build the website to material design's specs. Previously, I built a material Chrome extension and the layout came out well, http://imgur.com/a/vyd56. I am fluent in material design specs and feel capable of creating reusable web components. However, that project only targeted the latest versions of Chrome -- not all modern browsers.

With that in mind, I thought it would be a good idea to evaluate tools which might help ensure consistent design across platforms. I played around with a few of the more popular material tools, but, unfortunately, was pretty let down.

I've tried out:

- MDL, http://www.getmdl.io/: It's too lite. There's not enough components to build a full-fledged application and if I'm going to be building some components myself then I don't have much of a desire to mix-and-match.

- Polymer, https://www.polymer-project.org/1.0/: I think Polymer will be better in another year. Right now it feels half-baked. Some of the components have very obvious issues which I hacked around to get a prototype going. Documentation was difficult to parse and after 3 days I don't feel great about moving forward with it.

- Materialize, http://materializecss.com/: This is the next most promising. I have not yet played around with it and would love to hear some pros/cons regarding it.

That said, I'm totally comfortable "materialifying" components myself. It would be nice to have it all for free, but not mission critical.

So, I'm left wondering: should I stop looking for something so 'heavy' and settle on a simple grid system. Bootstrap? Skeleton? Others? Is it even worth considering a grid system if I'm just going to use flex containers?

( 6 comments | 20 points | on HN )
Re:Ask HN: Which CSS/HTML frameworks should I consider for m... by sudo_bang_bang on Thursday September 17, 2015 @12:00AM (#10231509)
I love React, it really does make development more straightforward. I was skeptical for a long time, but React + Redux is a great way to go. As for grid system, you can't beat Bootstrap. For a material design spec, I would check out this set of React components: http://material-ui.com/#/
Re:Ask HN: Which CSS/HTML frameworks should I consider for m... by wlkr on Thursday September 17, 2015 @06:58AM (#10232613)
A material design framework I quite like is http://materializecss.com/. I'm a big fan of minimalist frameworks and also find Min to be great http://mincss.com/index.html.
Re:Ask HN: Which CSS/HTML frameworks should I consider for m... by kaixi on Thursday September 17, 2015 @03:27AM (#10232048)
I cannot recommend Material-UI at this point. It offers zero customization, simple things like internationalization are impossible, etc.
Re:Ask HN: Which CSS/HTML frameworks should I consider for m... by achairapart on Thursday September 17, 2015 @05:39AM (#10232396)
These days I use mostly Basscss[1] as my front-end framework. It's more than a utility layer than a framework, built on OOCSS principles. It has grid/type/colors systems, flex utils and basically everything you need for modern development.

It's a swiss knife if you are into fast prototyping and it's light. Actually, it's less than 12Kb minified and gzipped.

[1] http://www.basscss.com/

Re:Ask HN: Which CSS/HTML frameworks should I consider for m... by ciokan on Thursday September 17, 2015 @04:01PM (#10235717)
Def. worth a try: http://www.semantic-ui.com

devcasts.io is my website using it and I can't tell you how many hours it saved me with the rich set of widgets and features it has

Re:Ask HN: Which CSS/HTML frameworks should I consider for m... by RUG3Y on Thursday September 17, 2015 @12:23PM (#10234289)
I like using Materialze or Bootstrap, depending on what the client needs. Lately I've been going very minimal and going without frameworks. My favorite tool right now is harpjs.