I'm a graphic designer, and I've spent some time studying html
and css
and then jump to js
.
When studying css classes I was assaulted by a doubt:
.prueba.grande {
font-size: 30px;
}
.cuerpo .mayusculas {
text-transform: uppercase;
}
In the first CSS declarion if I put two classes for example as they are, followed, does it mean that only that style will be applied to the elements that you necessarily have the two classes?
And in the second statement, can it be that what I am saying is that I look for the elements with class "body" and that all descendestes with class "capital letters" have that style?
I do not have the clear difference between putting together or separate classes, two id, after several tests in Atom, I think it should be something similar to what I explain, but I'm not clear, thank you!