Does anyone know how to identify, using javascript, only the css properties of a Class, for example:
.in-text{
color: red;
font-weight: 500;
}
in html
<label class="in-text">Digite um texto</label>
I tried this method, getComputedStyle(document.querySelector('.in-text'))
however I get many properties and not only the in-text class