How can I stylish html5 validation message? [closed]
Hi now I am looking for form validation. I know that HTML5 validation is a good option for me. But this validation message color is not match for my theme. So is any way to stylish this message? I need a green background with red color. How can I customize it?
So Is there any way to style this message? I need a green background with red color. How can I customize it?
You can’t style the message box itself, as it is built into the browser. The styling and presentation of these messages will differ between browsers.
If you want something that you can style, you are going to have to write the validation yourself and add DOM elements that are select-able.