Skip to content

Nested CSS Selectors will be implemented? #333

@adaliszk

Description

@adaliszk

I know the CSS selectors nesting is not the way how the CSS does, but in multiple CSS extension you are able to do it and programmers love it. I want to know that it will be in the platform in the future?

Current CSS:

body {
    margin: 0; padding: 0;
}
body > main {
    width: 900px; margin: 0 auto;
}
body > main > h1 {
    color: HoneyDew;
}
body > main > p {
    color: #222; margin: 0; padding: 0 0 8px 0;
}

Expected CSS:

body {
    margin: 0; padding: 0;
    main {
        width: 900px; margin: 0 auto;
        h1 {
            color: HoneyDew;
        }
        p {
            color: #222; margin: 0; padding: 0 0 8px 0;
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions