Home › Forums › Other › HTML/CSS: Choosing semantic naming conventions › Re: HTML/CSS: Choosing semantic naming conventions
November 18, 2012 at 7:38 pm
#114681
TheDoc
Member
That particular element might not repeat, but the things *inside* of it mights.
So it gets a bit tricky if you accidentally do something like
#content .cool-class { }
…later in the CSS file…
.something-else .cool-class {
/* won’t get used since the ID takes over */
}