Himas Rafeek
Posted on: 2 months ago
CSS

Style for Required inputs and Placeholder

CSS3 Normalize for Required and Placeholder…


                                          /* non-style for "Required" inputs in Firefox, Chrome and Opera */  input:required, textarea:required {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    outline: none 0;
}
 /* Styling "Placeholder" input in Chrome and Safari */  ::-webkit-input-placeholder {
    color: #333;
    font-style: italic;
}
 /* Styling "Placeholder" input in Firefox */   input:-moz-placeholder, textarea:-moz-placeholder {
    color: #333;
    font-style: italic;
}