Hacker News new | ask | show | jobs
by mmilo 5245 days ago
Personally I find this to be very inelegant. There is an incredible amount of HTML cruft and Javascript with a bunch of CSS hard-coded into it.

http://lab.simurai.com/css/umbrui/ has some awesome examples of how this sort of thing should be done, using nothing but native HTML 5 form inputs and CSS.

2 comments

"Note that other browsers also allow Shadow DOM styling, but to keep things a little simpler, it's just WebKit for now"

Thats such a cop-out.

Even if it only worked in webkit I'd still style native elements and let them fall back to their default look. Creating fake inputs using a bunch of nested divs gives me flashbacks of days when tables were used for layout.
> Thats such a cop-out.

Is it really? It's an experiment (that's written on the page), it notes this can be achieved in other browsers but the author just wanted the experiment/demo out, and all the caveats are written up-front.

I totally agree simurai examples is so much better. no arguments there.