Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> input[type="number"]:out-of-range{ background-color: yellow; } </style> </head> <body> <input type="number" min="5" max="8" value="12"> </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> input[type="number"]:out-of-range{ background-color: yellow; } </style> </head> <body> <input type="number" min="5" max="8" value="12"> </body> </html>