Let's say I have some CSS of the type:
#foo input {
background-color: black;
color: white;
/* seguem mais um milhão de propriedades */
text-align: center;
z-index: 9000;
}
All% with% child of input
will have all these properties.
Assuming that in the middle of the page I want a single foo
not to have this formatting ... I know I can give you a specific class or specific id with new formatting rules. But only what I specify will be overwritten. I have to play a input
value on all properties previously specified before I can undo them all.
Is there any shorter way to skip CSS for just a single page? I would love something like:
<!-- aqui acaba o CSS -->
<input blablabla />
<!-- aqui o CSS começa a valer de novo -->
Or
<input blablabla ignoreCss="True"> <!-- seria tão bom se houvesse algo assim -->
Or even
$("#idDoMeuInput").ignoreCssCompletely();
I looked for several alternatives in several places, but I did not find it. Is there any way to make an element ignore CSS?