Skip to content

Expansions Not Working In Nested CSS #31

@shshaw

Description

@shshaw

Emmet expansions seem to work if you have nested CSS selectors like...

.parent {
  display: flex;
  
  div {   
    flex: 0;
  }
}

However, if you have nested psuedo-selectors, Emmet doesn't seem to offer expansion as expected.

.parent {
  display: flex;
  /* Expansions work */
  
  div {   
    flex: 0;
    /* Expansions work */
  }

  div:hover {
    /* No expansions */
  }
  div:last-child {
    /* No expansions */
  }
}
Screen.Recording.2026-03-10.at.10.36.19.AM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions