top | item 4875723

Flatstrap - Bootstrap with no rounded corners, gradients or drop shadows

149 points| binarydreams | 13 years ago |littlesparkvt.com | reply

79 comments

order
[+] blauwbilgorgel|13 years ago|reply
Metro UI does have gradients and drop shadows, though they are very subtle.

If you are good at design, you wouldn't need to start from Bootstrap. If you are not so good at design, Bootstrap is a great framework, but using flat, all-square UI elements can cause some problems, you may be unaware of.

If you use Flatstrap, your <code> tags, labels and buttons will all look the same. If, in the spirit of flatness, you'd also removed the inset shadow on form inputs, then all visual cues for either clicking (element is higher than the page) or form input (element is lower than the page) are gone. This reduces usability and discoverability. [1]

Rounded boxes serve another function, where they draw the attention of the eye to the contents of the box -- It flows more pleasantly too [2]

Designers going for the flat design trend, should carefully strike a balance between a completely flat design, and using subtle gradients, underlines, rounded corners, color, shadows and pseudo-3D to convey information that matches our expectations and wiring of our brains.

[1] http://www.useit.com/alertbox/windows-8.html Flat styles reduce discoverability

[2] http://uxmovement.com/thinking/why-rounded-corners-are-easie...

[+] loudin|13 years ago|reply
> If you are good at design, you wouldn't need to start from Bootstrap.

I completely disagree with this statement. Bootstrap has nothing to do with design - it's all about structure.

The responsive grid layout is great. With some good planning, you can get desktop and mobile optimized versions of your site with much less effort than a custom framework. As a bonus, you also get a great deal of Javascript UI elements for free. And the fact that all of these elements are unified and tested across browsers is a huge time-saver, too.

If you do know what you are doing design-wise, the LESS stylesheets are well-structured. You can do something as simple as changing the base color of your links to diving in to completely customize the look of your app.

As for Flatstrap, it's great to see an alternative base design to the Bootstrap framework.

[+] zachinglis|13 years ago|reply
The "flat design trend" is just minimalism to be fair. Something we've had for ages.

But the latest series of flat designs do often rely on rounded corners too. Glad you wrote this though as I was about to do the same :)

[+] chimeracoder|13 years ago|reply
> If you are good at design, you wouldn't need to start from Bootstrap. If you are not so good at design, Bootstrap is a great framework,

Just to nitpick, even if you're 'good' at design, Bootstrap is nice if you just don't want to spend the time for a prototype or small project, and also want to be able to drop-in different themes easily to test them out (ie, Bootswatch).

> using flat, all-square UI elements can cause some problems, you may be unaware of.

Remember that, in "true" Metro, all titles and elements are clickable, so the concept of affordance and discoverability is almost moot - its mere existence signals that it can be clicked on.

This is a a paradigm shift from what we've been using all our lives, so naturally people will need to adjust to it a bit, but I don't think it's fundamentally different from adjusting to clicking on rounded rectangles with dark edges instead of pressing a physical button.

[+] pxlpshr|13 years ago|reply
With all due respect, changing a few settings in 1 or 2 LESS files is now a top #2 story on HN? One of three things are happening as approach the end of the world...

1) Slow news day

2) What quantifies a hacker is being grossly influenced by what has quantified a startup the last few funding cycles.

3) Get off my lawn.

[+] calinet6|13 years ago|reply
But they rewrote the documentation too! And added their names.

Seriously, this is a simple theme, nothing special, people have been theming bootstrap since it came out. Moving on then...

[+] indiecore|13 years ago|reply
Meh, like I said I was going to do this tonight myself, now I don't have to. HN saved me some work and I think that's worth an upvote.
[+] davidw|13 years ago|reply
The striped progress bar... isn't.

I don't know... I guess 'flat' is the hip thing and everyone should run out and change to it, but I'm not sure it's an improvement. I kind of like buttons to stick out a bit.

[+] wladimir|13 years ago|reply
And the funny thing is that the people that are now loudly proclaiming everything should be flat are likely the same that were calling all old 'flat' interfaces boring in the days that gradients and shadows became hip.

UI design seems more sensitive to fashion whims these days than woman's clothing.

[+] lewispollard|13 years ago|reply
I like the flat style, but it's annoying having buttons and alerts/labels look exactly the same. You can't immediately tell what's clickable and what isn't.
[+] calinet6|13 years ago|reply
Exactly. Flat is the new thing, but people forget that depth and perspective are useful visual analogues. They help us realize what we can interact with versus what is just a flat piece of paper. YMMV.
[+] buster|13 years ago|reply
Funny thing is when you click on examples the navigation menu indeed has rounded corners which immediately stands out :P
[+] huytoan_pc|13 years ago|reply
The text on the homepage has drop shadow too...
[+] saevarom|13 years ago|reply
The first thing I noticed as well!
[+] laacz|13 years ago|reply
I, actually, like this, since android, windows 8 and even google are now using this simplified flat almost-not-rounded components. Feels much cleaner to me.
[+] d0ugal|13 years ago|reply
do, you, really?
[+] synor|13 years ago|reply
The devs should include a global-corner-radius setting in variables.less
[+] thomaspark|13 years ago|reply
There are variables for @baseBorderRadius, etc. They don't hit all of the spots yet, but it's getting there with each new version of Bootstrap.
[+] troebr|13 years ago|reply
boottheme.com does a good job. It's a 'wysiwyg' editor of the bootstrap less variables, and that includes border-radius.
[+] armandososa|13 years ago|reply
I really, really, really hate this flatshit design trend. Not so much by the way it looks –or works– but because of the sense of superiority of their proponents. I hate that it is being touted as some kind of movement that is liberating us from the evilness of skeumorphism. It's bullshit. A good designer should put the user experience above his own snobbish idealisms. Function over form.
[+] cloverich|13 years ago|reply
I don't think its intended as outright superiority, I think its a reaction to it. CSS3 came out and suddenly everywhere everything is rounded corners, gradient colors and shadowed text. It was cool and useful in places, but with the popularization of Bootstrap the internet feels flooded with the concepts. And it did feel like it was pushed into a lot of designs where it wasn't a good fit.

I suspect many people dislike those design choices and are happy to see a counter-push for 'simple' design - flat colors, no gradients, etc.

[+] mnicole|13 years ago|reply
Don't understand the downvotes, that's exactly what's going on. I alluded to this upthread; this aesthetic is more about Microsoft attempting minimalism to look trendy than than it is about usability, which is why qualified UX folk have been blasting it.
[+] ChrisNorstrom|13 years ago|reply
I am very very very pro rounded corners for clickable buttons. Rounded Corners is one of the main things that lets a user know a button is clickable. In fact roundedness was so important in UX that in the past before we had the border-radius: property in CSS we used an actual image made in photoshop as the button. Don't throw out the baby with the bathwater.
[+] mixmastamyk|13 years ago|reply
I don't remember seeing a rounded button until the 2000's I think.
[+] quarterto|13 years ago|reply
The Affix still has a drop shadow and rounded corners. Apart from that, looks great!
[+] neovive|13 years ago|reply
A good next step for Bootstrap would be to create a centralized theme repository with the ability to select and change themes from a centrally-managed repository of approved themes. Almost like an npm for Bootstrap themes.
[+] axx|13 years ago|reply
I've done this myself, but nice to have a dedicated project for this! :)
[+] PaintWithCode|13 years ago|reply
Heh, I think its funny that your "Examples" in the "Get Started" page have rounded corners in the thumbnail preview :)

You guys forgot the "edit" in copy -> paste -> edit

[+] lukeholder|13 years ago|reply
Awesome. Although you would think since they are using a css preprocessor in the bootstrap project they could allow a flag on compile for things like these?
[+] tagliala|13 years ago|reply
Nice. I did it by myself some months ago!

https://github.com/tagliala/bootstrap/commit/0b9d96517870009...

I removed gradients, shadows, round corners...

You did a step forward: button gradients!

As many of you pointed out, the problem are bootstrap's updates. Maybe a script that removes .border-radius and converts #gradient in plain color is better

[+] ryanmarsh|13 years ago|reply
"We <3 Bootstrap"

I didn't go to college so please help me out here. If Flatstrap < 3 Bootstrap is true then is Flatstrap > 2 Bootstrap also true?

[+] iamdave|13 years ago|reply
Giving the benefit of the doubt that this isn't a math joke (because it did make me chuckle), <3 in this context is supposed to be a heart, thus "We <3 n" translates to "We love n"
[+] vital101|13 years ago|reply
I find it odd that they used rounded corners in their documentation, even though not having rounded corners is one of the key features.
[+] jeffehobbs|13 years ago|reply
Kudos for keeping .img-rounded in there. That would be a very confusing class name if you straightened that out.
[+] kgosser|13 years ago|reply
I think a worthy discussion question is:

Are rounded corners a bad thing, and not a part of the "flat design" movement?

My 2¢: I'm not sure they are a bad thing. I think you can still have a flat design and use rounded corners. Frankly, I dislike when buttons are flat _and_ right-angled because too much affordance is lost.