I was looking for a solution to style an input field to look like the Holo Light theme of Android 4.x, but every solution needed additional markup.
That wasn't good enough for me, so I thought about this for a minute and had an idea: Multiple background images, positioned along the bottom of the input field, sized correctly using background-size. By using linear-gradient instead of images, it is quite easy to change colors.
Tested on Chrome 32 and Android 4.3. Use at your own risk.