모달

dialog 요소를 이용해서 모달을 표현할 수 있다.

Preview

Styling and Animation for the dialog Element

The style is straightforward. The animation should use modern CSS features like allow-discrete and overlay.

HTML

CSS

Note

Reference