Tailwind CSS Tutorial #5 - Tailwind Config

Tailwind CSS Tutorial #5 - Tailwind Config

Net Ninja

4 года назад

172,195 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mohamed Yusufkhan
Mohamed Yusufkhan - 13.09.2023 10:02

For tailwind v3.
"build-css":"tailwindcss -i src/style.css -o ./public/styles.css --jit --purge './**/*.html' -w "

Ответить
Wahyu Koco
Wahyu Koco - 25.08.2023 09:31

i love it when knowing tailwind has intellisense!

Ответить
Mark Jak
Mark Jak - 19.07.2023 20:16

💙💙💙💙💙💙

Ответить
Justin Ken Ramoso
Justin Ken Ramoso - 18.10.2022 17:55

i created a yo mama font with 12rem lol

Ответить
Raj Banna Sa
Raj Banna Sa - 12.10.2022 04:24

thank you so much sir

Ответить
Arnab Jha
Arnab Jha - 21.07.2022 10:30

For people facing difficulty because tailwind.config file already exists, copy this : content: ["./src/**/*.{html,js}"],
delete that file, run the command ninja showed, paste this code again in the content portion of the new tailwind.config file : content: ["./src/**/*.{html,js}"],

Ответить
Ali Ham
Ali Ham - 10.07.2022 14:50

What is the extension for showing tailwind icon instead of js icon ?

Ответить
tomas carignano
tomas carignano - 08.04.2022 04:17

Man you explain things so well and in a detailed manner. Thank you so much!

Ответить
Ansar Qazi
Ansar Qazi - 27.03.2022 13:10

Great

Ответить
Shinebayar Gansukh
Shinebayar Gansukh - 21.12.2021 21:26

What I don't understand is you only added "mammoth" class, but you're using it like "text-mammoth", how is that possible?

Ответить
ArminMegas
ArminMegas - 20.12.2021 23:20

In this lesson my browser does not show any css changes. Maybe you know why?

Ответить
Ali Haider
Ali Haider - 16.12.2021 16:58

Helpfull content thanks sir

Ответить
WaifuFx
WaifuFx - 20.11.2021 15:50

Thank you for including this in the video

Ответить
elnaz a
elnaz a - 15.11.2021 15:51

you are the BEST......

Ответить
Lars Rye Jeppesen
Lars Rye Jeppesen - 31.10.2021 13:37

I'm really getting a fan of Tailwind. Started out this thinking "what's the deal with just using utility classes" but theming, optimizations etc are blowing my mind. It's amazing. Thanks

Ответить
Shanil Panara
Shanil Panara - 14.10.2021 17:19

love when he goes "hyaaaa" hahaha

Ответить
Benja-min
Benja-min - 30.09.2021 01:09

Nearing the end of 2021, this is still the best Tailwind tutorial, by far.

Ответить
James Li
James Li - 20.09.2021 20:36

Over heighyaaaaaaaaaaaaaaaaaaaaaaaa

Ответить
Apel Mahmud
Apel Mahmud - 08.08.2021 17:56

Thanks for this tutorial

Ответить
Huey_ W.M
Huey_ W.M - 20.07.2021 04:20

Thank you for the video... It was really helpful!

Ответить
Sonia Kashyap
Sonia Kashyap - 09.07.2021 15:43

How we calculate margin in percent for tailwind blog

Ответить
Truth Teachers
Truth Teachers - 08.07.2021 08:45

Really hopeless using it with VS Code. VS Code Takes a very long time to look for all the css. I just killed it.

Ответить
Abel Murua
Abel Murua - 02.07.2021 16:31

I think there is an " -i " missing before the input file. On lessons about @Apply it didnt work until I came back to this section and added the -i (meaning input file). For the ones that had the same problem (I got error message), use this instead... "build-css": "tailwindcss build -i src/styles.css -o public/styles.css" (package.json) you are welcome!

Ответить
Jamshid Karimov
Jamshid Karimov - 18.05.2021 14:49

In Tailwind 2.1.1 There is no colors in config file. How we can change them now?

Ответить
Hastings Keith
Hastings Keith - 19.04.2021 10:53

If you got an error on generating the tailwind.cofing.js use npx tailwindcss-cli@latest init --full

Ответить
Dalia Sireikytė
Dalia Sireikytė - 26.03.2021 22:34

Thank you so much! Video was very helpful. I was stuck as custom css did not come through... but I didn't know that I have to rebuild CSS every time I add custom css. Watched 3 videos and nobody was mentioning this! And I was searching which vscode extension is giving suggestions for class names... Super helpful!

Ответить
Souls Lord
Souls Lord - 20.03.2021 13:16

man on tailwind.config.js I don't have the color like you, and at the top of the page it's write " const colors = require('tailwindcss/colors')" Did I have to install an extension? Because after, when I write " npx tailwindcss init --full" I got an error. Thanks for people helping me

Ответить
Bernard Chisumo
Bernard Chisumo - 16.03.2021 17:28

what package can I use on phpstorm? tailwindcss intellisence

Ответить
Daaboo
Daaboo - 02.03.2021 12:29

did npx tailwindcss init --full ... colors still wont appear in laravel

Ответить
Gabriele Giles
Gabriele Giles - 25.02.2021 15:29

This is so amazing. I already love it.

Ответить
Lê Hùng
Lê Hùng - 17.02.2021 11:19

i am doing an angular project that uses css tailwind. After customizing in config file, how can I rebuild css ? Thanks

Ответить
carlos
carlos - 15.01.2021 18:19

dude, you really explain very good

Ответить
Angel Arcia
Angel Arcia - 26.12.2020 01:58

Hoy to config purge style.css, because is too big for production... Thanks..

Ответить
Shakeel Ahmad
Shakeel Ahmad - 25.12.2020 05:53

You are the best teacher for web dev newbies.

Ответить
Lina Vlasiadou
Lina Vlasiadou - 22.12.2020 23:18

And if you have a problem with the intellisense extension, you must enable and the HTML CSS Support extension 😉

Ответить
The Home Depot House Plant
The Home Depot House Plant - 07.12.2020 01:44

"npx tailwindcss init --full" doesn't work for me. I get "Error: Cannot find module 'autoprefixer' "

Ответить
Sunrise Sunset
Sunrise Sunset - 30.10.2020 12:33

Why do British people always say init?

Ответить
Mxolisi Masuku
Mxolisi Masuku - 08.10.2020 22:25

Sleep well knowing you helped out someone who was stuck..

Ответить
codewithfarhad
codewithfarhad - 18.08.2020 16:50

I'm using VS Code and I'm already getting this IntelliSense with tailwind without having to download this extra extension. What Magic Is This, Humans?

Ответить
Jane Tracy
Jane Tracy - 17.08.2020 13:50

This is amazing. I will definitely be using my own styles from creating the tailwindcss config js file.

Ответить
Josef
Josef - 16.08.2020 20:28

I love your courses, and the way you say "over here". Reminds me of Monty Python for some reason :P
Many many thanks!

Ответить
Ngoni Mugumwa
Ngoni Mugumwa - 02.08.2020 12:09

I needed this, thank you so so much🙏🏾

Ответить