Live data from Hacker News

Bootstrap 3.1 released

github.com

51–60 of 138 posts

Re: Bootstrap 3.1 released

#51
post #21
post #14

In the documentation pages they have inexplicably moved the navigation links to the right side.

We'll see how it goes—if enough folks complain, we can revisit :). I wanted the content to be in the absolute forefront with this update. That meant not affixing the top navbar and downplaying the side nav. I think it's super helpful, but again, I'm open to reversing things again if it'd be better for more folks.

It's almost a web standard that navigation links are on the left.

Re: Bootstrap 3.1 released

#52
post #19
post #8

Official Sass port. That's pretty big news.

The main reason I chose LESS was because of bootstrap support, I'm extremely happy with it and can't believe I didn't start with it before. I'll see how this port goes, but I've read some good stuff about SASS: http://css-tricks.com/sass-vs-less/ Any other points anyone can make for SASS against LESS?

SASS is backed by Ruby, so you can take advantage of all of Ruby's power, including reading from the filesystem.

For instance, combined with Compass, you can read image sizes and automatically pull in width and height for a class. Or you can more easily make sprite images via a mixin that knows the size of the image and how many rows/columns you have.

I've been using bootstrap-sass since it was targeting bootstrap 2.3. They've done a great job of keeping up with bootstrap development, so it's great to see them officially supported. It wouldn't shock me at all if Bootstrap eventually moved over to SASS officially in the future.

Re: Bootstrap 3.1 released

#53

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…

What's a good alternative?

Bourbon Neat http://neat.bourbon.io has been my grid of choice for the past year or so. It's stupid easy to use, plus I get the lightweight power of Bourbon mixing.

Beyond that, the js portions of Bootstrap are nice, but they're certainly not unique.

My opinion of things like Bootstrap and Foundation is that they're nice, but they serve a purpose that I think isn't appropriate for a lot of uses. I think if you need to put together something fast, they're great.

If you're investing tens or hundreds of thousands of dollars in design, I think it behooves you to build a lot of your components from scratch. I might take a few components from Bootstrap, but I can't really see it being my starting point.

As for an alternative, I think doing it yourself to suit your own needs is the alternative.

Re: Bootstrap 3.1 released

#54
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.

This is the answer I've been hoping to hear.

Re: Bootstrap 3.1 released

#55
post #4

Pushed to CDN too http://www.jsdelivr.com/#!bootstrap

Curious what people's thoughts on using a CDN for these sorts of things (Bootstrap, JQuery etc) versus deploying it on their own sites. It's an extra DNS query - but thoughts on overall impact on performance?

I'm against it for stuff that is not watched like a hawk. For example Google's CDN version of jQuery is fine but I'm not going to use any other random CDN Bootstrap decided to use because I don't trust it.

When RC1 came out, the CDN version had a random dev build (90% broken) but on the page they linked to it as RC1.

I compared the downloaded version .vs CDN and the files were different.

So be careful, if company hosting CDN is not well known or has a good reputation you might screw your self.

Re: Bootstrap 3.1 released

#57
post #21
post #14

In the documentation pages they have inexplicably moved the navigation links to the right side.

We'll see how it goes—if enough folks complain, we can revisit :). I wanted the content to be in the absolute forefront with this update. That meant not affixing the top navbar and downplaying the side nav. I think it's super helpful, but again, I'm open to reversing things again if it'd be better for more folks.

I like it this way. Less intrusive, but easy to find when you want it.

Re: Bootstrap 3.1 released

#58
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?

You can copy existing CSS into a SASS project using SCSS.

Re: Bootstrap 3.1 released

#59
post #52
post #19

Earlier quoted context omitted.

The main reason I chose LESS was because of bootstrap support, I'm extremely happy with it and can't believe I didn't start with it before. I'll see how this port goes, but I've read some good stuff about SASS: http://css-tricks.com/sass-vs-less/ Any other points anyone can make for SASS against LESS?

SASS is backed by Ruby, so you can take advantage of all of Ruby's power, including reading from the filesystem. For instance, combined with Compass, you can read image sizes and automatically pull in width and height for a class. Or you can more easily make sprite images via a mixin that knows the size of the image and how many rows/columns you have. I've been using bootstrap-sass since it was targeting bootstrap 2.…

Actually, I moved away from Sass >becauseFortunately, now there is node-sass and it's grunt wrapper, making for vastly faster transpiling process.

https://github.com/andrew/node-sass

Re: Bootstrap 3.1 released

#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.

Post reply on HN