Skip to content

Allow to write css class inside an other class (like less) #6713

@YglesEyes

Description

@YglesEyes

Hi all,
I open an issue on this subject because I didn't find it but perhaps I missed it...

It should be nice if we can write CSS class inside an other class like LESS manage it.

For example:

#card {
  background: red;
}
#card.disable {
  background: grey;
  color: black;
}

become:

#card {
  background: red;

  .disable {
    background: grey;
    color: black;
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-nesting-1Current Work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions