Skip to content

CSS ::part selector #22

@feature-not-a-bug

Description

@feature-not-a-bug

I'm working with some content that requires editing shadow dom elements for padding and it would be nice to have a selector that's capable of taking a CSS h list to embed into the body of the selector

An example would be taking some web component and styling inputs or labels inside of it. I can work around it using cls and a hard-coded

  <style>
  .some-user-value::part(base) {
    padding: 9;
    font-weight: bold;
  }
  </style>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions