When it comes to validating the content of input fields on the frontend, things are much easier now than they they used to be. Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor. Like the checkbox, HTML5’s file type input does not respond to many rare custom styles that often work behind prefixes and do not behave consistently across browsers. Styling other input types. .btn input[type="submit"]:hover This selects all hovered input fields of type submit inside a wrapper that has btn class. Tip: Always add the