Skip to content

Conversation

@cmeessen
Copy link
Contributor

Currently, when using the data-background-image attribute, the user can only specify one background image. This is, because if a url is given, the whole string given in data-background-image is wrapped into url().

This MR allows to use a comma-separated list, e.g.:

<section data-background-image="image1.png, image2.png"></section>

Would be happy to see this merged into dev.

@cmeessen
Copy link
Contributor Author

This bug also exists in v3.9. If this version is still maintained, I would also create a MR for this branch.

@hakimel hakimel merged commit a112712 into hakimel:dev Apr 28, 2021
@hakimel
Copy link
Owner

hakimel commented Apr 28, 2021

Looks good, thanks! There's no reason to patch the 3.9 branch.

hakimel added a commit that referenced this pull request Apr 28, 2021
Copy link

@sultan801 sultan801 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello

R0bes pushed a commit to R0bes/Terraform-Presentation that referenced this pull request Jun 7, 2021
…round

Fix: multiple image-urls in data-background-image
R0bes pushed a commit to R0bes/Terraform-Presentation that referenced this pull request Jun 7, 2021
srwohl pushed a commit to srwohl/phantom-pres that referenced this pull request Sep 2, 2024
@faxm0dem
Copy link

faxm0dem commented May 3, 2025

When I use this feature, only the first image is being displayed. Is there supposed to be a slideshow of backgrounds ?

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

Successfully merging this pull request may close these issues.

4 participants