tailwind-ui Questions

1

I need to change fonsize accourding to screensize with tailwind css. Is there a way to define fontsizes according to screen in tailwind.config and apply them to all text? Normally i can create cust...
Riess asked 7/4, 2022 at 11:26

5

Solved

This is my first time installing and running tailwind CSS. I follow the instructions and did everything accordingly but then it started showing some warnings like below Can you tell me why I am ge...
Cyclostyle asked 31/1, 2022 at 8:6

5

Solved

I was trying to use colors such as amber and lime, which are mentioned in the documentation. These colors didn't work. Only colors with names such as the primary color name (eg. red, pink) worked. ...
Hair asked 13/1, 2022 at 23:33

8

Solved

I am trying to setup tailwind 3 , but i got the next warning . No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS c...
Alainealair asked 19/6, 2022 at 20:20

3

Solved

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.
Ingar asked 9/5, 2022 at 16:33

3

First, I'm much more of a Rails back end person. The JS world today scares me. I know this is a super basic question, but I've racked my brain for a solid couple days trying to figure, this out. I ...

6

I've just started using Headless UI. I'm trying to use the Disclosure component from Headless UI to render my job experiences. Basically, I need "n" number of Disclosures which will be dy...
Volnay asked 5/5, 2022 at 17:52

2

I am trying to learn how to use animation with Tailwind. The animation that I am trying hopelessly to make is: Entering: "duration-200 ease-out" From: "opacity-0 scale-95" To:...
Duisburg asked 24/9, 2021 at 23:26

2

Solved

In a sentence: Why does calculations with JS variables does not apply any style using TailwindCSS v3? I am using VueJS for my project, and this example works as expected as it simply applies calc a...
Skepful asked 4/9, 2023 at 11:34

4

Solved

I was curious about the CSS behind tailwinds bg opacity. I could only find 'opacity' in pure CSS but that affects everything rather than just the background. Could somebody please explain this?
Stipel asked 5/11, 2021 at 16:19

12

my problem is simple ... I'm using HeadlessUI's Dialog component for React in my app and when I click out of modal I wish it wouldn't close. In the documentation, there is the Dialog. Overlay param...
Eleanoraeleanore asked 11/10, 2021 at 13:25

2

Solved

How do i change the internal state of the Popover with a function outside the component: Like the openPopover function i created below. const openPopover = () => { setPopoverOpen(true) // Examp...
Eleonoreleonora asked 13/12, 2022 at 6:9

3

Solved

I am looking for a good shorthand to apply the same effect to multiple pseudo classes in tailwind. For example, I may want to apply a blue background to both :hover and :focus states on a div. Curr...
Cheryle asked 15/11, 2022 at 12:10

2

Solved

I wanted to include a loading spinner from tailwind-css and according to tailwindcss documentation, this should be available with the className="animate-spin". I'm using React18 created f...
Pushkin asked 1/11, 2022 at 3:4

1

Solved

I build an app in React and I have this dropdown from Tailwind UI which is opened on click events and I want to make it open on mouse hover too. <Menu as="div" className="relative...
Dumond asked 4/12, 2022 at 19:58

3

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: <div class="mt-4 width"> <div class="mt-...
Dharana asked 23/3, 2022 at 19:17

2

Solved

I have a Laravel project with Tailwind and have Webpack configured: mix.js('resources/js/app.js', 'public/js') .postCss('resources/css/app.css', 'public/css', [ require("tailwindcss"), ...
Embrocate asked 10/3, 2022 at 9:49

1

Solved

I want to create a class in Tailwindcss with arbitrary values for example HTML <button class="my-custom-class[#fff]" /> CSS @layer componenets { .my-custom-class { @apply bg-[--h...
Written asked 18/6, 2022 at 8:22

2

I am trying to use sample tailwindui.com components. They have the animation part defined in the comments, but I am not able to make out how I should those in my code. I am using plain html/js and ...
Sissie asked 18/11, 2021 at 7:52

2

Solved

How to add roboto font family in tailwind and us it for label element? <label class="font-roboto"></label>
Fiend asked 23/3, 2022 at 12:43

1

Solved

I'm having trouble opening one of the 2 Disclosure. Attached below is what trying to achieve this and when I add the static prop it keeps it open indefinitely.
Drifter asked 8/12, 2021 at 11:37

3

i'm on rails 7 with esbuild. I'm using tailwindUI. It works properly when using only css components. When a component uses JS it does not work anymore. For example the dropdown menu is open by defa...

1

I use TailwindCSS with DaisyUI (via CDN). When using DaisyUI Dropdown, is there any way for me to change the color of the dropdown item? This includes the background color of the dropdown itself, t...
Reams asked 8/10, 2021 at 8:53
1

© 2022 - 2024 — McMap. All rights reserved.