Skip to content

Background class bg-bottom-right is not correct #2221

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

Closed
Eoczi opened this issue Apr 23, 2025 · 1 comment
Closed

Background class bg-bottom-right is not correct #2221

Eoczi opened this issue Apr 23, 2025 · 1 comment

Comments

@Eoczi
Copy link

Eoczi commented Apr 23, 2025

The correct class for changing the positioning of the background to the bottom right corner, according to the documentation, is 'bg-bottom-right'. However, in code, the actual class is bg-right-bottom. Need to change or at least mention it in the documentation.

tailwind version that is being used: 4.1.4

@adamwathan
Copy link
Member

Hey! Both options work and do the same thing:

https://play.tailwindcss.com/vU6XIGF1Zg

We only added bg-bottom-right in v4.1 though so it won't work in older versions, are you sure the project you're testing it on is using v4.1?

@Eoczi Eoczi closed this as completed Apr 23, 2025
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