I am working on my first utility Class, or maybe some micro framework. If I got some Markup like this:
<div class="even-columns wrap on-desktop">
<div class="item">
<div class="item">
</div>
I would think this is usually related to a section or something with a Class or ID. So i would code my (S)CSS like
.section_A {
.item {
.myNameA {
background-color:#000;
color:#FFF;
}
.myNameB {
background-color:#FFF;
}
}
}
<div class="item myNameA"></div>
And finally adding the new Class of styling after the item Class in my HTML. Is this how frameworks work, or do I got something wrong?