Replies: 1 comment 1 reply
-
Hey @lymtu! If you have conflicting utilities set on the same element, you can't guarantee which one will take priority in production. To avoid this, wrap your class string with Tailwind Merge, it merges the class strings and makes sure that the last declaration will be applied to the element. Your code will then look like this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It will be displayed when the opacity-80 property is set for the second layer child element div. opacity-100 will not be displayed when set; Not displayed when bg-opacity-60 is set, too.
Beta Was this translation helpful? Give feedback.
All reactions