4 ms·
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.sim
by mmilo 15y 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/ 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.
- mp3geek 15y ago"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.
- mmilo 15y agoEven 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.
- masklinn 15y ago> 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.
- p0larboy 15y agoI totally agree simurai examples is so much better. no arguments there.