OSX Lion in CSS3
alessioatzeni.com
alessioatzeni.com
Almost every HTML5 demo I've seen just reproduces something we could already to with technologies that ran on the desktop years ago. We're supposed to be excited that we can now implement - barely, and extremely laboriously, and with a clunky, buggy, incompatibility-ridden toolkit - the same kinds of things desktop apps programmers have been doing for a long time.
As a web developer pushing 40, I dread seeing our profession head towards making desktop-style apps in the browser, and along way spending the next 10 years repeating the mistakes and relearning the lessons of current desktop app developers. I'm not sure I've got enough time left to stomach that.
However, I disagree that we should ignore the desktop UI in the browser. It's generally better than web UIs and there is no reason that we have to repeat the mistakes desktop UIs have made the in past.
See also: Co-operative/Pre-emptive multitasking , thin-client/thick-client , single user / multiuser and native / virtualised.
If the message had been, uhm, polite, i would maybe have considered opening another browser to look at it in.
I mean. Is it too much to expect just a little more class than that?
EDIT: Now i tried it in Chrome since it was open. No error message, but logon doesn't work. Honestly, i'm not impressed.
It's impressive, if laggy, in ffx12.
Small improvement: Log me in on hitting Return.
But one question from a JS/CSS noob: there seems to be a rash of people doing a lot of things in pure CSS. Is this more for fun and as an experiment, or is there an actual technological reason to do it strictly through CSS? Is pure CSS the way things are heading, or is using javascript the real way to do things?
Thats the only real reason I can see for trying to do as much in CSS3 as possible other than just for the challenge.
Making CPU-hungry CSS3 kind of defeats that purpose, of course.
See the Netflix talk which has a lot of info about using GPU accelerated animations for e.g. scrolling: http://www.youtube.com/watch?v=xuMWhto62Eo
The recent trend of trying to do everything in only CSS3 without Javascript is mostly a challenge for the developer and some of that stuff serves no actual value. For example, many people have been doing some icons with CSS3, by creating a bazillion elements in the DOM tree and adding CSS3 styles. That serves no practical purpose whatsoever, since the HTML+CSS required probably takes more space than the image it's replacing and is very slow to process and render for the browser.
CSS can be used to do practical icons and buttons, though. Instead of trying to create a pixel perfect replica of a bitmap, you can do pretty nice icons by using a nice unicode symbol (or text), and put some rounded corners, a neat gradient and a drop shadow.
If only people would stop using absolute pixel sizes in their CSS stylesheets, we could get pretty nice scalable (as in screen size) Web UI's.
Pressing [ENTER] on password textbox didn't go so well, but you can use the mouse and hit the arrow.
And then it works great.
I'm on a MacBook Pro and running Chrome (although I get the checkered yellow pattern in other applications like iTunes as well).
I would just open this up full-screen on someone's laptop and watch the magic unfurl. A little more JS and you could have an awesome copy of Lion in the browser.
Is there any JS code involved in dragging windows? From the code, I could see JQuery UI is being used. So, its like OSX Lion in CSS3+JavaScript.
Nevertheless, a commendable effort.
Add this to full screen mode and you've got the makings of a crazy OSX fake-out scam.
That's a fairly faithful emulation, actually...
I have done something similar but based on Vista : vidshome.com