Skip to content

Expansions Not Working In Nested CSS #31

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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