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

blackout screen outside slide to keep correct ratio #3673

Open
hanickadot opened this issue Sep 3, 2024 · 1 comment
Open

blackout screen outside slide to keep correct ratio #3673

hanickadot opened this issue Sep 3, 2024 · 1 comment

Comments

@hanickadot
Copy link

I'm trying to hack it myself for my presentation, when I present on screen with different ratio (typically a macbook with its 16:10 ratio with presentation intended for 16:9 projector) I would like to be able to blackout screen top/down or left/right and keep ratio same in fullscreen.

Can someone point me what to change? Or if such option already exists. Thank you!

@LangDaniel
Copy link

If you have a background image you can do that by setting data-background-size="contain":
https://salferrarello.com/full-screen-image-in-reveal-js/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants