One day at CodePen, we woke up to a ton of customer support tickets about their Pens being broken, which ultimately boiled down to …
Chris Manning digs into
A dialog element provides:
- An element that is easy to show and hide, including an
openboolean attribute on the element itself.
- Two versions: a standard popover or modal version.
- A ::backdrop pseudo-element for modal
Keith Grant discusses how HTML 5.2 has introduced a peculiar new element:
<dialog>. This is an absolutely positioned and horizontally centered modal that appears on top of other content on a page. Keith looks at how to style this …