html - What are the input required attribute default declaration? -


i facing strange problem.

i have wordpress site, mailchimp wordpress plugin. there email field, has required attribute. around field, there red border or something.

first inspected element, turn of css properties, border still there.

i wondering why. when removed required attribute, border has gone. thought on right way, , add css:

:required {    border: none; outline: none; } 

that not helped me out.

i visit page: http://www.w3schools.com/cssref/sel_required.asp

but not see, default declarations selector.

i tried search required on w3.org wiki, no success.

so, of course first question how remove border, , second is, can find default declarations required?

enter image description here

input[required], input:required {     display:block;      background-color: yellow;     border: 0 !important;     outline: none !important; } 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -