Questions tagged [tailwind-3]

137 questions
15
votes
4 answers

Is there a way to adjust the angle of the linear gradient in Tailwind CSS?

Is there a way to adjust the angle of the linear gradient on a background image style of an HTML component using Tailwind CSS? The only thing I can do is choose between the directional options:t(top), tr(top-right), etc but I want to set the angle…
badrianp
  • 153
  • 1
  • 1
  • 4
8
votes
4 answers

Angular material 15 with Tailwind CSS 3.2.4 in Angular project mismatched

I am using Angular 15 with Angular material 15, then I have added Tailwind CSS as per the instruction https://tailwindcss.com/docs/guides/angular The material component design got mismatched as shown below The placeholder name is truncated as it…
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
7
votes
2 answers

Tailwind css table with fixed header and scrolling tbody vertically

I have the code below for a table based on tailwind css. If I remove the block class, the table is not scrollable anymore. Adding the block class to tbody breaks the thead. See Images attached. CodePen if you want to play with the code.…
hirani89
  • 156
  • 1
  • 2
  • 13
7
votes
2 answers

How to uninstall tailwind from my react application?

I have installed react-bootstrap and tailwind together for my react app. I'm getting some conflict using both of them. So I want to uninstall tailwind.
Shawon
  • 73
  • 1
  • 1
  • 3
5
votes
1 answer

how to apply inset to box shadow in tailwindcss?

Tailwindcss docs (v3) talk about inset box shadow so briefly that I couldn't find out a way to apply a custom inset box-shadow to an element. also shadow-inner-[0px_-2px_4px_rgba(0,0,0,0.6)] does not work. Only the default shadow-inner works on the…
Ali Baghban
  • 517
  • 1
  • 5
  • 13
5
votes
2 answers

How to add roboto font family in tailwind?

How to add roboto font family in tailwind and us it for label element?
user18206178
4
votes
3 answers

Tailwindcss manual dark mode doesn't work in NextJS project

I need to integrate the dark mode into my project. I use NextJs v12.1.3, react 18.1.0 and tailwindcss v3.1.2. I tried this guide on the official site, but the manual selection doesn't work for me. It always shows the operating system's theme. For…
Loudrous
  • 1,039
  • 10
  • 29
4
votes
3 answers

How to set input full width on mobile devices in tailwind?

I have a input element. It takes 50% of available parent width. Property w-6/12. How to set width full for mobile devices? Code is: