What is disabled in CSS?

How to use disabled CSS or enabled CSS?

 Disabled CSS and enabled CSS are the both same if we use the disabled property in the HTML and define a class in the CSS then show color or set any property then show as given below example:
by default enabled CSS work. Both properties will work with the form elements.

        input[type=text]:enabled {
            border1px solid #ccc;

        input[type=email]:disabled {
            border1px solid #ccc;
<p>Enabled CSS: <input type="text" value="Name"></p>
<p>Disabled CSS: <input type="email" disabled="disabled" value="Email"><p>

No comments:

Note: Only a member of this blog may post a comment.

Copyright Reserved to Anything Learn. Powered by Blogger.