Skip to content

Add bg-none utility #2198

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

Merged
merged 1 commit into from
Aug 20, 2020
Merged

Add bg-none utility #2198

merged 1 commit into from
Aug 20, 2020

Conversation

adamwathan
Copy link
Member

This PR adds a new bg-none utility that sets background-image: none so you can responsively disable gradient backgrounds like this:

<div class="bg-gradient-to-r md:bg-none">...</div>

Not having this in v1.7.0 was a mistake and I consider this a bugfix (it was impossible to undo the styles) so going to sneak this into a patch release 👀

@adamwathan adamwathan merged commit d810a8a into master Aug 20, 2020
@adamwathan adamwathan deleted the bg-none branch August 20, 2020 14:48
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.

1 participant