Trouble installing Tailwind on an M1 MACBOOK
Recently I tried to install Tailwind on my mac, followed tutorials on YT, but on every occasion, the installation was unsuccessful. The class would highlight in VSC and show that tailwind config, package.json etc., files had been generated, but the index.html had zero styling. I’m unsure if this is a common issue or if any one could point me to a video. Like I said I have tried many and none work for me. Basic css and html is what i require, but using tailwind css…
enable TailwindCSS preflight only within some div
I’m converting established project with bunch of CSS to Tailwind. Therfore I must disable Tailwind preflight (a.k.a reset defaults on elements) with corePlugins: { preflight: false},
simple scaling of image in container with tailwind css
I’m trying to position an image in a container (green) and scale it. The height of the container is ultimately generated dynamically. I have no idea why I can’t scale the image to the available height.
Tailwind: How align text in container with no-full-width parent?
I’m using tailwind and I have a problem. I have the next code:
fixing items at the start of the container without padding margin
i want to fix my items at the beginning of the container when the screen size is set to medium the item should cover the whole width.and be able to adjust when screen size is set to normal.Am using Tailwind css to do my styling .Help fix this error ready to learn
How to use tailwind css `theme` function with opacity modifiers
Is there anyway to use the theme()
syntax for declaring a css variable with tailwind and using an opacity modifier after?
How to use @apply Tailwind directive with styles defined in JS?
The @apply
works if used in app.css
, but I would like to declare styles close to JS elements, not in separate app.css
.
Can’t use margin right or mr
Hi I’m a web dev student and I was assigned to finish a simple web design using tailwind css and reactjs, I was taught about it yesterday so there are a lot of things I don’t know about it. I’m trying to make a background using circle shapes and I stumbled upon an issue where I can’t seem to place the shapes on the right side, I’m sorry I need some help about this.
How can I achieve this line in TailwindCSS
custom tailwind color doesn’t apply in css
I want to add some custom color to tailwind and use them in the css.