- Exclusive Accordion
- Popover API
-
dialog
- CSS Anchor Positioning
- Scroll-Driven Animations
- Full-bleed layout with modern CSS
- The :user-valid and :user-invalid pseudo-classes
- Consolidate CSS Grid
- importmap
- Intl APIs
- Local first web applications
The modal <dialog>
element
- Opened with dialog.showModal().
- Closed with dialog.close().
- Makes the rest of the page inert.
- Does not support light-dismiss behavior.
- You can style the open state with the [open] attribute.
- Semantically represents an interactive component that blocks interaction with the rest of the page.
The [popover]
attribute
- Can be opened with a declarative invoker (popovertarget).
- Closed with popovertarget (auto popover) or popovertargetaction=hide (manual popover).
- Does not make the rest of the page inert.
- Supports light-dismiss behavior.
- You can style the open state with the :popover-open pseudo-class.
- No inherent semantics.