Skip to content

reset dialog styles #11

@mayank99

Description

@mayank99

every time i work with <dialog>, i have to blow away all of its useless default styles, so it would be nice if the reset took care of it.

the only part i'm unsure about is what to do with the [open] attribute. display: none !important; makes sense on it, but the !important being in a reset could be problematic in case the dialog needs to be animated (e.g. using visibility: hidden). although, display: none will soon be animateable, and @starting-style could be helpful too?

TBD

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