Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple popovers with Popover API #43

Open
mgrubinger opened this issue May 28, 2024 · 0 comments
Open

Multiple popovers with Popover API #43

mgrubinger opened this issue May 28, 2024 · 0 comments

Comments

@mgrubinger
Copy link
Owner

mgrubinger commented May 28, 2024


short: use popover=manual to show multiple popovers at a time

If you set popover=manual attribute on the popover trigger element (like the button that opens a popover), you can have multiple popover elements open at the same time.

Demo/Codepen:

<iframe height="300" style="width: 100%;" scrolling="no" title="CSS Popover API: multiple popovers" src="https://codepen.io/mgrubinger/embed/preview/wvbBOoK?default-tab=&editable=true" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> See the Pen CSS Popover API: multiple popovers by Martin Grubinger (@mgrubinger) on CodePen. </iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant