1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!DOCTYPE html> <html> <head> <style> input { width: 200px; height: 5px; outline: 1px dotted black; color: white; /* Disable baseline alignment, so that our y-position isn't influenced by the * choice of font inside of input: */ vertical-align: top; } </style> </head> <body> <input type="time"> </body> </html>