I am trying to use the nesting feature of SASS to concatenate two classes, but can't figure out how to do it.
This is the HTML:
<section class="a">
    <div class="b">
        <div class="c date">some date</div>
    </div>
</section>
Here is my current SASS:
.a .c
    display: inline-block
    .date
        width: 50px
It creates the following CSS:
.a .c {
    display: inline-block;
}
.a .c .date {
    width: 50px;
}
But this doesn't work. The browser expects the "date" and "string-long" to be nested under the "c" class rather than them being both existent on the same HTML tag.
What I need is this (no space between .c and .date => .c.date):
.a .c {
    display: inline-block;
}
.a .c.date {
    width: 50px;
}
How can I do this?
 
     
     
    