News for hackers. Stuff that matters.
Re:CSS3 Buttons by dmix on Thursday September 02, 2010 @03:45PM (#1657388)
This is how this page looks in IE6: http://i.imgur.com/PVT7u.png

Note I understand it's an experiment, just for curiosity

Re:CSS3 Buttons by lenni on Thursday September 02, 2010 @03:49PM (#1657406)
To be honest, I thought it would look much worse. I would say it is even acceptable if you design for a website with a tech-savvy audience.
Re:CSS3 Buttons by jamesjyu on Thursday September 02, 2010 @04:58PM (#1657648)
Yeah, that looks like it degrades rather gracefully. As long as (1) the text is still readable, and (2) the buttons are clickable, I say people should just go for it.
Re:CSS3 Buttons by ugh on Thursday September 02, 2010 @06:41PM (#1657971)
With a little more effort you should even be able to make them look a bit more like buttons in older browsers or Internet Explorer.
Re:CSS3 Buttons by baxter on Friday September 03, 2010 @06:14AM (#1659081)
IE8 looks the same.
Re:CSS3 Buttons by antidaily on Thursday September 02, 2010 @02:37PM (#1657148)
Brilliant - kinda looks like hard candy. But...

If you're planing to use the BonBon buttons for production.. Well, I don't recommend it.. yet! Yes, I'm sorry, life is hard.

Re:CSS3 Buttons by Huppie on Friday September 03, 2010 @02:26AM (#1658812)
As long as there's no license attached I wouldn't use it in production anyway.
Re:CSS3 Buttons by lovskogen on Friday September 03, 2010 @03:11AM (#1658879)
Why? Getting sued over the CSS used for buttons?
Re:CSS3 Buttons by levesque on Thursday September 02, 2010 @04:59PM (#1657654)
They feel laggy. It's like there is a delay added to their animations on mouse hovering... or is it just ineffective? Can't say I like it.
Re:CSS3 Buttons by lazyjeff on Thursday September 02, 2010 @05:30PM (#1657757)
There is a delay for the button to "shift" up AND glow. That's two steps and most buttons have only a single visual feedback, so it feels like it's laggy due to this extra step. I agree that it's a bit too much.
Re:CSS3 Buttons by DougBTX on Thursday September 02, 2010 @05:59PM (#1657861)
Feels responsive here (Safari 5).
Re:CSS3 Buttons by confuzatron on Thursday September 02, 2010 @07:46PM (#1658137)
Horribly laggy (1 second from click to change of appearance) on my EeePC in FF, where the buttons look good. Not laggy in Chrome where the buttons look a mess.
Re:CSS3 Buttons by pierrefar on Thursday September 02, 2010 @03:18PM (#1657292)
Aaaah my eyes! (After viewing the page in IE8.)

These buttons don't degrade gracefully at all.

Re:CSS3 Buttons by chc on Thursday September 02, 2010 @03:27PM (#1657326)
I can only imagine. They're unusable even in Safari 4 (the reflections turn into white boxes that cover up most of the buttons).

Of course, when you're pushing the envelope, you're pretty much by definition going to leave the laggards who stick to older technology behind.

Re:CSS3 Buttons by pierrefar on Thursday September 02, 2010 @03:52PM (#1657418)
From the point of view of the user, I strongly subscribe to the school of thought that says build it working for everyone and enhance for the users that have better browsers. These buttons, as the post itself says at the end, are just not ready for production.
Re:CSS3 Buttons by benatkin on Thursday September 02, 2010 @04:17PM (#1657507)
I missed the part that says it's not ready for production when I first read it. Here's part of the quote from the end:

> This is just a demo and not meant to be used on your next project that targets the average internet user.

Re:CSS3 Buttons by CWIZO on Thursday September 02, 2010 @04:16PM (#1657504)
I'm curious as to why he didn't use regular buttons. That would degrade ... (haven't checked the code tho)
Re:CSS3 Buttons by qbert on Friday September 03, 2010 @02:06AM (#1658773)
I tried his button styles on submit and button inputs. His basic "button" style and the various color and shape variations still work great and degraded well when I checked in IE7.

You can view the results here: http://www.webcodeshare.com/agx3ZWJjb2Rlc2hhcmVyDwsSB1dlYmNv...

Only a small addition was needed to turn off left and right borders.

Re:CSS3 Buttons by CWIZO on Friday September 03, 2010 @03:30AM (#1658905)
I also tried that, but I loose the icons (even in chrome).
Re:CSS3 Buttons by arnorhs on Thursday September 02, 2010 @07:48PM (#1658143)
Has anybody made an @font-face package with icons? That would be super helpful and nice for doing icons on buttons etc...
Re:CSS3 Buttons by daleharvey on Thursday September 02, 2010 @08:00PM (#1658164)
Re:CSS3 Buttons by pclark on Friday September 03, 2010 @09:06AM (#1659401)
aren't they a massive over engineering? Like having to create the appropriate fall back for older browsers would be a real pest.
Re:CSS3 Buttons by daleharvey on Friday September 03, 2010 @12:25PM (#1660100)
all modern browsers support font-face, I have doubts about whether they dont suffer from the fout but thats about it, people who arent web developers really dont like dealing with images, its a pretty huge pain so just being able to type some text and have a nice icons show up is a nice choice for some.
Re:CSS3 Buttons by arnorhs on Thursday September 02, 2010 @09:11PM (#1658271)
wow, that's nice. Exactly what I was looking for.
Re:CSS3 Buttons by pyre on Thursday September 02, 2010 @03:42PM (#1657377)
Hitting inspect element in Chromium on Linux gives me an "Aw Snap" crash. :-\
Re:CSS3 Buttons by ramidarigaz on Thursday September 02, 2010 @04:23PM (#1657519)
I've been getting a lot more Aw Snaps after upgrading to Chromium 7.whatever on Linux.

It happens all the time when I'm searching for things on google.

Re:CSS3 Buttons by jjcm on Thursday September 02, 2010 @03:58PM (#1657442)
No issues here, Chromium 7.0.507.0 (57505) on Ubuntu 10.10a3
Re:CSS3 Buttons by cubtastic71 on Friday September 03, 2010 @01:25AM (#1658697)
Are we going to see "Flaming" CSS3 buttons anytime soon!? I mean yes mark up is just a href tag but the CSS itself is a bit huge when you look at the styling?
Re:CSS3 Buttons by bprater on Thursday September 02, 2010 @03:29PM (#1657328)
I learned a few bits about CSS3, such as splitting up border radius for top and bottom.
Re:CSS3 Buttons by marknutter on Friday September 03, 2010 @10:08AM (#1659592)
I guess sexy is a relative term.
Re:CSS3 Buttons by AlexC04 on Thursday September 02, 2010 @04:15PM (#1657501)
My soul weeps for their beauty
Re:CSS3 Buttons by drivebyacct2 on Thursday September 02, 2010 @08:50PM (#1658238)
There must be a bug in the lastest Dev version of Chrome. Some strange transparent white box on the "top" of the buttons.

http://imgur.com/CTVFM.png

Re:CSS3 Buttons by alanh on Sunday September 05, 2010 @05:18PM (#1665197)
Not a Chrome bug so much as an artifact of Windows blur APIs as far as I can tell. Shadows and blurs look less Gaussian and more bidirectional motion blurred on Windows in Chome and other modern browsers.
Re:CSS3 Buttons by jsankey on Friday September 03, 2010 @01:02AM (#1658672)
It's not just the latest dev version. I'm seeing it in 5.0.375.127 on Windows, which is not even the latest released version.
Re:CSS3 Buttons by miratom on Thursday September 02, 2010 @04:09PM (#1657484)
...if you think children's vitamins are sexy.
Re:CSS3 Buttons by blehn on Thursday September 02, 2010 @03:08PM (#1657255)
Just because you can doesn't mean you should.
Re:CSS3 Buttons by charliepark on Thursday September 02, 2010 @03:23PM (#1657304)
Shouldn't what? Experiment and write a tutorial?

Maybe you wouldn't ever put them on a site, and maybe I wouldn't ever put them on a site, but the state of the art only advances when people create experiments like this and then share the process.

Snark is easy. Coming up with experiments and then writing about them is far more impressive, even if the experiments don't ever see the practical application.

Re:CSS3 Buttons by richbradshaw on Thursday September 02, 2010 @04:15PM (#1657503)
Not all HTML and CSS happens in a browser. Many interfaces are written that are rendered by webkit, and in those instances this is awesome.
Re:CSS3 Buttons by ciupicri on Thursday September 02, 2010 @07:14PM (#1658083)
Could you give some examples, please?
Re:CSS3 Buttons by bricestacey on Friday September 03, 2010 @12:28AM (#1658632)
I don't have examples, but many "web developers" create desktop apps that thinly wrap webkit or their rendering engine of choice to permit HTML/CSS markup for their GUI.

I do this with Prism all the time to deploy web apps to my company, but you could equally embed webkit yourself into any app - and use these buttons in a single (known working) environment.

Re:CSS3 Buttons by po on Friday September 03, 2010 @04:23AM (#1658945)
An example would be Wolfire's upcoming game Overgrowth. Their level editor has an embedded webkit browser which is used to render their tool palettes. Everything is done in HTML/CSS.