4
Whenever I am developing the front-end of some site, I put the name of the selector, for example .seletor1, .seletor2 and so on.
Recently I had to change the classes of a plugin I downloaded, and I saw that it: div.seletor
Forgive my ignorance, but I have six months of front-end and I’ve never used it like this.
Got it. In your number one item, it wouldn’t be the equivalent of putting:
.seletor a,seletor div, or.seletor input? You say the class will only be applied if it is within aa,divorinput?– Felipe Viero Goulart
No, these dials are different:
div.foois a div who has the classfoo, and.foo divis a div inside any element that has the classfoo.– bfavaretto