A neat trick I wanted to bookmark-slash-promote: in addition to pseudo-placeholder text on the input field, it slides down to the edge when the user is actually typing rather than disappearing entirely. Saves space, although possibly at the cost of accessibility.
“Float Labels with CSS” at CSS Tricks
I finished my first AngularJS app today, after a couple of weeks of tinkering and re-reading the docs.
It took a little while to un-learn everything jQuery has taught me about DOM manipulation, but Angular’s two-way data binding is absolutely the way you want to go if you’re designing anything like a real web app.
Sadly, I can’t (well, shouldn’t) link to it here, since it’s for a client’s internal use only. Hopefully I’ll have something I can post about before long. (Update: now I do!)
Some good links if you’re a jQuery developer learning AngularJS for the first time: Continue reading Achievement unlocked: first AngularJS app
:after CSS pseudo-classes, the usual answer is, “You can’t.” Since those CSS pseudo-classes aren’t part of the DOM, you can’t use DOM methods to manipulate them.