Live data from Hacker News

Twitter Bootstrap v1.4.0 Released

github.com

11–20 of 28 posts

Re: Twitter Bootstrap v1.4.0 Released

#12
post #6

Recently I walked into project that used Twitter bootstrap for the initial CSS. A prototype was built, relying on the bootstrap CSS, and from that point on it has been hassle to work with the CSS. I'm really not sure I understand the strategy of dumping so many styles into the global name space. Basically, all of us have been working around the styling as we implement features.. a major refactor is in order and we wi…

As a counterexample, I just built a site with Bootstrap, and I was very happy with the experience. It's the first site I've ever made that I think looks pretty good.

I worked around the styles I didn't want in two different ways. One, I built my own version of the css that excluded all the form styles (non-native controls are bad). This involved installing some packages that I didn't really understand but didn't need to. It took maybe five minutes start to finish. The second was simply overriding the CSS I didn't want. This is absolutely no different than what you do with any other website, where you're overriding the browser's default styles instead of Bootstrap's.

Re: Twitter Bootstrap v1.4.0 Released

#13
post #4

If you are a rails user and want your form helpers to spit out the bootstrap form markup check out: https://github.com/stouset/twitter_bootstrap_form_for Also, if you are a simple_form user then check out: https://github.com/rafaelfranca/simple_form-bootstrap

I'm a Rails n00b using bootstrap to get things to look decent so I'm not miserable every time I fire up my app. Thanks for the link, I'm using form_for and was having a few issues with styling..

Re: Twitter Bootstrap v1.4.0 Released

#14
post #12
post #6

Recently I walked into project that used Twitter bootstrap for the initial CSS. A prototype was built, relying on the bootstrap CSS, and from that point on it has been hassle to work with the CSS. I'm really not sure I understand the strategy of dumping so many styles into the global name space. Basically, all of us have been working around the styling as we implement features.. a major refactor is in order and we wi…

As a counterexample, I just built a site with Bootstrap, and I was very happy with the experience. It's the first site I've ever made that I think looks pretty good. I worked around the styles I didn't want in two different ways. One, I built my own version of the css that excluded all the form styles (non-native controls are bad). This involved installing some packages that I didn't really understand but didn't need…

"This is absolutely no different than what you do with any other website, where you're overriding the browser's default styles instead of Bootstrap's"

Its different. There are all kinds of properties I don't want to have to override. This gives me the option of deleting code from bootstrap css or having duplicate css code in my project, every page load, and every rendering of the dom.

A prototype is fine, but once I'm working with a graphic designer, its mostly undoing vs overriding. Would be so much more bootstrap-able if the styles were constrained to classes.

Re: Twitter Bootstrap v1.4.0 Released

#15
post #6

Recently I walked into project that used Twitter bootstrap for the initial CSS. A prototype was built, relying on the bootstrap CSS, and from that point on it has been hassle to work with the CSS. I'm really not sure I understand the strategy of dumping so many styles into the global name space. Basically, all of us have been working around the styling as we implement features.. a major refactor is in order and we wi…

I know what you're saying. I think the intent--read it in the issue tracker or mailing list--is to put more controls into variables.less and have more of the internal stuff key off what users set in there. As it stands, for instance, you can't even set the base font family. I hope the project moves in that direction. That said, the grid, mixins and forms are a great starting point to work from already.

Re: Twitter Bootstrap v1.4.0 Released

#17
post #14
post #12

Earlier quoted context omitted.

As a counterexample, I just built a site with Bootstrap, and I was very happy with the experience. It's the first site I've ever made that I think looks pretty good. I worked around the styles I didn't want in two different ways. One, I built my own version of the css that excluded all the form styles (non-native controls are bad). This involved installing some packages that I didn't really understand but didn't need…

"This is absolutely no different than what you do with any other website, where you're overriding the browser's default styles instead of Bootstrap's" Its different. There are all kinds of properties I don't want to have to override. This gives me the option of deleting code from bootstrap css or having duplicate css code in my project, every page load, and every rendering of the dom. A prototype is fine, but once I'…

Deleting code from Bootstrap isn't a big deal, neither is having duplicate CSS. I'd rather do that than stick dozens of little classes everywhere. FWIW, if you prefer the class approach, it's probably not too big of a change to the .less files.

Re: Twitter Bootstrap v1.4.0 Released

#20
What has kept me from using this is the lack of media-queries. After investigating the gh repo it looks like there is a 2.0 branch with a responsive design already being built. I'm not sure what keeps them from releasing it but it appears to work.

https://github.com/twitter/bootstrap/blob/2.0-wip/docs/index...

Post reply on HN