Live data from Hacker News

Bootstrap 3.1 released

github.com

81–90 of 138 posts

Re: Bootstrap 3.1 released

#81

Earlier quoted context omitted.

Actually, I moved away from Sass >because Fortunately, now there is node-sass and it's grunt wrapper, making for vastly faster transpiling process. https://github.com/andrew/node-sass

There's been work to re-write sass in C (or C++), preliminary reports showed it being 4,000x faster, IIRC.

https://github.com/hcatlin/libsass

Re: Bootstrap 3.1 released

#82
post #60

...and they still haven't moved to "sanity" by adding/supporting: * { box-sizing: border-box; } the line that I start all my CSS with nowadays. Quote from their docs: > Some third party software, including Google Maps and Google Custom Search Engine, conflict with Bootstrap due to * { box-sizing: border-box; }, a rule which makes it so padding does not affect the final computed width of an element.

When Bootstrap 3.0 was released one of the top comments on HN was a hallelujah for adding/supporting this very feature.

Re: Bootstrap 3.1 released

#83
post #71
post #68

When are they going to add something like Foundation's block grid? That really comes in handy. (Note: I use both Foundation and Bootstrap). Block grid docs - http://foundation.zurb.com/docs/components/block_grid.html

Unless I am missing something, but I was able to easily reproduce it with current bootstrap styles: http://jsfiddle.net/MgcDU/8706/

Would this work if you wanted to run 5 images in a list? or 7?

The way I'm reading the Zurb behavior referenced, that's what it can do for you.

Re: Bootstrap 3.1 released

#84

Earlier quoted context omitted.

Or just don't use the parts of Bootstrap you don't need, it's fully modular. Four steps for pairing BS down to your bare essentials: 1. Clone the repo [0]. 2. Hide unneeded JS modules: Open ./Gruntfile.js [1], scroll down to `concat` task, delete or comment the JS files you don't need. 3. Hide unneeded CSS: Open ./less/bootstrap.less [2], delete or comment Less includes you don't need. 4. Run the `grunt` task to reco…

Or even simpler, use the customizer [0] to download the bits you want. A few checkboxes and you're done. [0] http://getbootstrap.com/customize/

That works too, though you don't get the reusable build system, just the compiled output of it.

Re: Bootstrap 3.1 released

#85

Earlier quoted context omitted.

Or just don't use the parts of Bootstrap you don't need, it's fully modular. Four steps for pairing BS down to your bare essentials: 1. Clone the repo [0]. 2. Hide unneeded JS modules: Open ./Gruntfile.js [1], scroll down to `concat` task, delete or comment the JS files you don't need. 3. Hide unneeded CSS: Open ./less/bootstrap.less [2], delete or comment Less includes you don't need. 4. Run the `grunt` task to reco…

Or even simpler, use the customizer [0] to download the bits you want. A few checkboxes and you're done. [0] http://getbootstrap.com/customize/

True... but often I get a feature request and so rather than adding another file, it's often easier for me to just uncomment something that was previously unneeded.

Re: Bootstrap 3.1 released

#86

Earlier quoted context omitted.

Actually, I moved away from Sass >because Fortunately, now there is node-sass and it's grunt wrapper, making for vastly faster transpiling process. https://github.com/andrew/node-sass

There's been work to re-write sass in C (or C++), preliminary reports showed it being 4,000x faster, IIRC.

This benchmark suggests it's more on the order of 10x?

http://www.solitr.com/blog/2014/01/css-preprocessor-benchmar...

Re: Bootstrap 3.1 released

#87

I was really hoping they would be able to come up with a simple way to turn on/off hovering in the distribution (without having to rebuild). Hovering provides unwanted "sticky" active states on touch-based devices. Given BS3 is suppose to be mobile-first I am surprised they let this go.

Open an issue (with suggestions?) and we'll check it out.

Re: Bootstrap 3.1 released

#88
post #8

Official Sass port. That's pretty big news.

At the expense of not Googling it on my own, can someone provide a quick rundown of why this is a big deal? What's the difference between Sass and LESS?

Seems to me Sass is preferred because of Compass tools.

Re: Bootstrap 3.1 released

#89
post #86

Earlier quoted context omitted.

There's been work to re-write sass in C (or C++), preliminary reports showed it being 4,000x faster, IIRC.

This benchmark suggests it's more on the order of 10x? http://www.solitr.com/blog/2014/01/css-preprocessor-benchmar...

Neat! It was only partially ported when I last heard numbers, full support often slows things down quite a bit.

Re: Bootstrap 3.1 released

#90
post #50

Question: If you were developing a large, content-driven site, would you bother with Bootstrap? Bootstrap seemed a bit like overkill when I had to use it in my old job. The CSS and markup seemed excessive, and the strict JS was kind of a pain to deal with. I know I can get something that looks half-decent up and running quickly with it, but if I'm not planning to take any visual design from it, is there much of an ad…

Answer: Don't bother for large websites. Get normalize.css If you really need grids, you can get a lighter framework.

[deleted]
Post reply on HN