Replies: 1 comment 2 replies
-
I think your code works as expected, it just looks clearer with more than one tr. Close it with
A minimal reproduction would help to better understand your problem. For example, TailwindCSS utilities are often overridden by stronger styles. In such cases, you might feel that it "doesn't work", but - as you also mentioned - in the devtools you can track which property is overriding the background color set by the utility. For example: This is usually called reset CSS, e.g. you set a white background for everything: or remove the background with revert: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to apply background to odd tr of table
I want to specify a background color for odd tr in the table as in the following example, but it is not specified. The setting is visible in the browser developer mode, but the background color is applied to the entire tr.
Beta Was this translation helpful? Give feedback.
All reactions