Reputation: 63
I am using a styling for all the input fields but there is one field for which i do not want that style. Is there any way i can disable the css for that particular field and let it be for others.
Upvotes: 2
Views: 75
Reputation: 1986
add a class to that input which you want to disable, then in css
input:not(.that_class)
Let me know if you have any issue.
Upvotes: 1
Reputation: 400
In CSS3, you can use ‘:not()’ to exclude an element using id or class.
Upvotes: 1