Complete the code to add a background color to odd table rows using Tailwind CSS.
<table class="min-w-full"> <tbody> <tr class="[1]"> <td>Row 1</td> </tr> <tr> <td>Row 2</td> </tr> </tbody> </table>
even:bg-gray-100 instead of odd:bg-gray-100.odd: prefix.The odd:bg-gray-100 class applies a gray background only to odd rows.
Complete the code to add a background color to even table rows using Tailwind CSS.
<table class="min-w-full"> <tbody> <tr> <td>Row 1</td> </tr> <tr class="[1]"> <td>Row 2</td> </tr> </tbody> </table>
odd:bg-blue-100 instead of even:bg-blue-100.even: prefix.The even:bg-blue-100 class applies a blue background only to even rows.
Fix the error in the code to correctly style odd rows with a green background using Tailwind CSS.
<table class="min-w-full"> <tbody> <tr class="[1]"> <td>Row 1</td> </tr> <tr> <td>Row 2</td> </tr> </tbody> </table>
odd:bg-green or odd:bg-green-.The correct Tailwind class for a green background with medium shade is odd:bg-green-500.
Fill both blanks to style odd rows with pink background and even rows with yellow background using Tailwind CSS.
<table class="min-w-full"> <tbody> <tr class="[1] [2]"> <td>Row 1</td> </tr> <tr class="[1] [2]"> <td>Row 2</td> </tr> </tbody> </table>
Use odd:bg-pink-300 for odd rows and even:bg-yellow-200 for even rows.
Fill all three blanks to create a table where odd rows have purple background, even rows have teal background, and rows highlight on hover using Tailwind CSS.
<table class="min-w-full"> <tbody> <tr class="[1] [2] [3]"> <td>Row 1</td> </tr> <tr class="[1] [2] [3]"> <td>Row 2</td> </tr> </tbody> </table>
Use odd:bg-purple-400 for odd rows, even:bg-teal-300 for even rows, and hover:bg-gray-200 to highlight rows on hover.