I wanted to know how I can via jquery remove all css styles from a given html element. Example:
html
<h1 class="titulo">Título</h1>
css
.titulo{
padding: 5px;
color: #424255;
margin-bottom: 5px;
border-bottom: 1px solid #424255;
}
I wanted something in jquery that could remove the css from a given element.
And that was not only restricted to classes as in the previous example.
If no html is like this:
<h1 style="padding: 5px; color: #424255; margin-bottom: 5px; border-bottom: 1px solid #424255;">Título</h1>
I wanted to know how I can remove the css style in these types of situations