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

Support all background image position options #24

Open
jonsage opened this issue Feb 15, 2021 · 1 comment
Open

Support all background image position options #24

jonsage opened this issue Feb 15, 2021 · 1 comment

Comments

@jonsage
Copy link

jonsage commented Feb 15, 2021

Is your feature request related to a problem? Please describe.
Currently there is no way to use calculated properties (CSS calc) in background images, or even use negative values. Also, the more extended options like "edge offset values" aren't supported, and there is no way to have multiple backgrounds on a single element (CSS supports this)

Describe the solution you'd like
I'd like to see the Fill panel support multiple background (like you can add multiple shadows in the shadow panel)

I'd also like to see more support for positioning - especially edge offset values.

https://developer.mozilla.org/en-US/docs/Web/CSS/background-position

Finally, there should be more options beyond "cover" and "contain".

Describe alternatives you've considered
Alternatives involve doing more work with additional shapes and constraints - which is fine, accept it means the code from Modulz is deviating from the ideal way the code would be written by a developer.

@colmtuite
Copy link

Thanks for this one too!

  • We don't support calc for now. It's quite tricky because of space constraints. We'll consider it soon.
  • Currently, this panel just supports a single value, so multiple background images are not possible. Just either a single Color or single Image. We will likely make it a multi-row panel soon.
  • We will add support for negative values for background-position soon. Thanks for raising that!

Keep 'em coming 😄

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