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

feat: support bg-[size] -> background-position #3269

Closed
4 tasks done
Simon-He95 opened this issue Oct 24, 2023 · 0 comments · Fixed by #3270
Closed
4 tasks done

feat: support bg-[size] -> background-position #3269

Simon-He95 opened this issue Oct 24, 2023 · 0 comments · Fixed by #3270

Comments

@Simon-He95
Copy link
Contributor

Clear and concise description of the problem

bg-[position:xxx], It’s not very convenient to write. I think we can dynamically determine whether the content inside is a reasonable size and whether the generated css uses background-position.

Suggested solution

bg-[10px]、bg-[calc(xx)]... background-position: xxx

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the README.md of using the package.
  • Already used the Interactive Docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
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 a pull request may close this issue.

1 participant