Relative Content

Tag Archive for tailwind-css

Why the rounded class is not working for ‘s border in a table?

<tr className=”border border-[#D9DCED] rounded-t-[8px] “> <th className=”font-[700] py-3 px-6″>Title</th> <th className=”font-[700] py-3 px-6 text-center cursor-pointer”> Price </th> </tr> I am using tailwind css to round the border but it’s not working . I am expecting the border to get rounded as well but it’s not working. tailwind-css

Tailwind row with two columns same height

I am having a few layout issues. I am creating a invoice layout. On the first row, I want the logo displayed in the top left corner, with the word Invoice under this. If no logo url provided, just the word invoice. On the right hand side, I want to display some business details. Currently I have this

CSS rule not apply if inside @layer

I notice sometimes random classes not working inside @layer base or @layer components but working if I’m putting it outside of everything.