306 points · by winkerVSbecks · 13y ago · 151 comments
The tab component is a good example of this - turn off JavaScript in your browser and you'll see that it still looks like tabs (thanks to CSS) but you just can't access anything part from the first tab.
Technically, this isn't a hard problem to solve. Have JavaScript add the HTML class that triggers the CSS rules to make the content look like tabs. If JavaScript fails, no part of the page ever gets hidden.
It would be great to see Bootstrap embrace progressive enhancement properly. With more devices of different capabilities accessing the web over networks of varying quality all the time, it becomes more important than ever to build robustly and not just for the best-case scenario.
Specifically building your app to attempt to handle the "bad data connection" use case that users already are familiar with in the context of the internet seems like bad programming.
Why provide a usable but substandard experience when those users would get a superior experience after a simple refresh?
As for the "turned it off crowd": in terms of web apps, who cares? If you've disabled Javascript, you're not looking to use web apps -- period. Javascript is required to use web apps for anything other than fancy form posting...
Of course, every site's audience is different, and you should prioritize your development for your audience.
https://github.com/twitter/bootstrap/pull/6342#issuecomment-...
Customizing Bootstrap has always been a pain (and I'm not the only one to think this, in the words of @mdo : those who want to use Bootstrap as a bootstrap kind of get the short end of the stick), I'm very happy to see that they're looking to make this easier.
I've been playing with the 3.0.0-wip branch for a little while, and I think that there are a couple of really cool features that should be noted above the cosmetic - the single, fluid grid; font icons by default; and a mobile-first design.
I've only been using bootstrap for a week, but I instantly noticed that the grid elements were separated not with a left margin, but with both left and right padding. This is going to be fantastic, and shows their responsive first thinking.
Still no border-sizing:border-box. Which makes me still root for Foundation.
Buuut, there is now a better nesting (Foundation-like) where there is no need to write row-fluid. Which is good.
Bootstrap 3: flat and fat!
It just seems like a huge step back to me. It's not even an elegant "flat" design; it's like they scrapped everything and decided to make all classes (even buttons for God's sake) DIVs of different colors. The new navbar, for example, is literally a gray DIV with rounded edges. I use Bootstrap on my web app because I care about design, but I don't care so much about learning fancy CSS; Bootstrap takes care of making things look subtly 3D, shaded, animated, etc., and that's what I'm looking for. I can make flat DIVs myself, thank you very much.
What about the scaffolding, the grid system and sane typographic rhythm? What about the glyphicons and out of the box mobile awesomeness?
Bootstrap is more than 3D buttons and box shadows, perhaps they are moving away from that to focus on the utilities that make the framework great, and not for the shiny buttons.
Glyphicons are probably my favorite part, though.
A lot of web applications -- line-of-business but also consumer-oriented -- should NOT be visibly unique, and styling your own buttons not only is a big waste of time, but also reduces usability. Look at the WinForms/Cocoa/GTK environments to see the value of a single visual language in action (including their respective UI guides that help with a consistent experience). The popularity of Bootstrap tells you the need is still there -- for both the millions of developers who need to get the job done without reinventing too many wheels on top of broken hypertext, and for the users who appreciate not having to figure out a UI for the millionth time (just ask your boss/customer what they think of your boring Bootstrap app, they probably love it).
might just be me, but I don't think you care too much about design if you rely on standard bootstrap for style. Not that I don't understand the appeal of having something that looks good out of the box.
Maybe the motivation behind this change is to make the navbar look a bit less twitter-y out of the box?
A paradox.
http://www.zurb.com/article/1173/foundation-4-is-here-the-sm...
Check out "Layout and grid system" section here: https://github.com/twitter/bootstrap/pull/6342, it specifically mentions border-sizing: border-box is being used and in the top in bold it says "Bootstrap 3 will be mobile-first"
ref: http://blog.getbootstrap.com/2012/12/10/bootstrap-3-plans/
http://clicky.com/marketshare/global/web-browsers/versions/
http://gs.statcounter.com/#browser_version_partially_combine...
If your audience is public businesses ie7 shares whill not be just 1% of your target.
If you care only about people using browsers at home,then you are not doing your job.
Can you elaborate on usage stats of "public businesses" and where you got those from?
If you have usage stats on your audience, then use them. Otherwise, go with the global usage, or at least your country/continent.
Normalize css[1] Bourbon[2] for utilities Neat[3] for the grid, Typeplate[4] for a nice type base.
If you still need bootstrap style elements, you can get individual mixins and styles from one the bootstrap-sass projects[5]
[1] https://github.com/necolas/normalize.css/
[5] https://github.com/thomas-mcdonald/bootstrap-sass
edit: typo
Bootstrap makes use of certain HTML elements and CSS
properties that require the use of the HTML5 doctype.
Include it at the beginning of all your projects.
The two examples that immediately come to mind are NAVs[1] and progress bars[2]; HTML5 already defines these elements. Why reinvent the wheel?[1]: http://rc.getbootstrap.com/components/#navs [2]: http://rc.getbootstrap.com/components/#progress
A book named The Truth About HTML5[2] provides additional reasons not to use HTML section elements.
I've yet to read about any benefits to using HTML5 section elements.
[1] http://www.accessibleculture.org/articles/2011/10/jaws-ie-an...
Zurb takes an interesting approach with their responsive tables (http://www.zurb.com/playground/responsive-tables).
https://github.com/twitter/bootstrap/pull/6342
It may also help to keep in mind that this is a preview. Bootstrap 3 isn't done yet.
The fluid grid has long been a part of Bootstrap, but until now has generally been secondary to the fixed 12-column grid, which used strict pixel values.
Then all the of flying community come out of the woodwork to cry bloody murder it isn't flying yet when you just strapped on some wings and aren't finished. Then you start to wonder if it's worth sharing both the process and the product in the first place when you have to deal with all the kids out there who cry as if their lollipop was stolen.
http://www.backwardcompatible.net/164-twitter-bootstrap-3-bu...
Also, considering the nature of Bootstrap, the UI design is always optional.
I would consider it quite crucial. When using Bootstraps responsive features, (which are clearly a selling point) you'd expect something as trivial as a popup-menu to actually work on other than desktop devices.
There will be gradients on the buttons.
https://github.com/twitter/bootstrap/pull/6342#issuecomment-...
-webkit-font-smoothing: antialiased; font-weight: bold;
Apparently you can.
Regardless: ull/6342#issuecomment-12332378 Gradients and other embellishments have temporarily been removed while I focus on other things. It has nothing to do with skeuomorphism or anything like that.
Bootstrap is not just a UI framework.
I like both frameworks but is this a trend we should worry about?
Proprietary elements in Angular are called directives. You define them and choose how to render them, what data to pass to them and linked functions to call after rendering. Everything is taken care of, it's not like the browser is going to freakout and not know what to do.