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

Position of background image #273

Closed
cgxeiji opened this issue Sep 8, 2019 · 0 comments · Fixed by #274
Closed

Position of background image #273

cgxeiji opened this issue Sep 8, 2019 · 0 comments · Fixed by #274

Comments

@cgxeiji
Copy link
Contributor

cgxeiji commented Sep 8, 2019

Is it possible to set data-background-position="value"?

As in:

image::img.png[background, size=contain, position=bottom]

Or is there a way to add/passthrough custom attributes to a section?

cgxeiji added a commit to cgxeiji/asciidoctor-reveal.js that referenced this issue Sep 8, 2019
Resolves asciidoctor#273.

With this, it is possible to position background images to the top or bottom of the slide (e.g. to add a banner).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants