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

Tailwind v2 and IE11 compatibility #2

Open
iquito opened this issue Dec 30, 2020 · 3 comments
Open

Tailwind v2 and IE11 compatibility #2

iquito opened this issue Dec 30, 2020 · 3 comments

Comments

@iquito
Copy link
Owner

iquito commented Dec 30, 2020

Share your experiences with Tailwind v2 and IE11 compatibility - you can also directly comment on Github: #2

Copy link
Owner Author

iquito commented Dec 30, 2020

Share your experiences with Tailwind v2 and IE11 compatibility - you can also directly comment on Github: #2

Copy link

titieo commented Jul 1, 2021

This post is brilliant. Thanks for sharing

@codemzy
Copy link

codemzy commented Jul 29, 2021

I also found that if you disable the bg and text opacity utilities in your build, this removes the variable from the text and background colour classes, which (if you don't need/use the opacity) could work for adding IE11 support to colours e.g.

// tailwind.config.js
module.exports = {
  corePlugins: {
     backgroundOpacity: false,
     textOpacity: false,
  }
}

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

3 participants