Тёмный

Tailwind CSS Tutorial #4 - Margin, Padding & Borders 

Net Ninja
Подписаться 1,5 млн
Просмотров 153 тыс.
50% 1

Hey gang, in this tailwind css tutorial we'll take a look at utility classes for applying margin, padding & borders to elements.
🐱‍👤🐱‍👤 JOIN THE GANG -
/ @netninja
----------------------------------------
🐱‍💻 🐱‍💻 My Udemy Courses:
+ Modern JavaScript - www.thenetninja.co.uk/udemy/m...
+ Vue JS & Firebase - www.thenetninja.co.uk/udemy/vu...
+ D3.js & Firebase - www.thenetninja.co.uk/udemy/d...
🐱‍💻 🐱‍💻 Course Files:
+ github.com/iamshaunjp/tailwin...
+ Full html template - github.com/iamshaunjp/tailwin...
🐱‍💻 🐱‍💻 Other Related Free Courses:
+ • HTML & CSS Crash Cours...
Download node.js - nodejs.org/en/
Get VS Code - code.visualstudio.com/

Опубликовано:

 

6 июл 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@YahiaHegazy
@YahiaHegazy 2 года назад
I know that when I come to this channel that I am going to learn. Thank you for posting these videos and even updating them.
@Arya20012
@Arya20012 6 дней назад
Whenever i visit this channel and hear your voice , it give make me feel pleasant and grateful 🙏🙏
@NetNinja
@NetNinja 5 дней назад
Thank you so much 😀
@manthanpatel779
@manthanpatel779 3 года назад
Thank you for your all series ... I am your big fan.... Sir..... Keep making videos.....🙏🙏🙏
@hakangenc1
@hakangenc1 3 года назад
Thanks for the video. I wanna ask if you will be including purgecss to exclude unused css classes ?
@umarbekorifov1777
@umarbekorifov1777 3 года назад
Hello Shaun. Thank you for all these series, they are Great! And I would like to ask, could you update your Python tutorial and add Django, please, very needed at the time 🙏. Once more, thank you for your effort in making every single tutorial :)
@waifufx
@waifufx 2 года назад
Expectations ALWAYS fulfilled when on this channel
@michaelkamau9565
@michaelkamau9565 3 года назад
Amazing content!!. Thank you
@Shakeel714
@Shakeel714 3 года назад
Thanks a lot Shaun for all the wonderful videos
@BloodBunn
@BloodBunn 5 месяцев назад
for those whose changes don't work, add --watch to your build-css in package.json, like this: "build-css": "tailwindcss build src/styles.css -o public/styles.css --watch" then in the terminal: npm run build-css this way you only need to run it once.
@arminmesic7273
@arminmesic7273 4 месяца назад
Thanks. This is why i hate tailwind. Because of this setup. Why should i always do this..... Couldn´t it be an extension, that work global within vscode which once installed. And can be called if you want to work with it...
@lovishsingla3681
@lovishsingla3681 4 месяца назад
still not working bro
@BloodBunn
@BloodBunn 4 месяца назад
@@lovishsingla3681 just use CDN for now, bro. Good for practice.
@RobMatthews21
@RobMatthews21 10 месяцев назад
Hi Shaun, these are the best tutorials I have ever used, thank you. I am having an issue. When I use the lesson 4 files from GitHub and run the build the output CSS file doesn't include all the classes. I am guessing I don't have something installed correctly'? Any idea what it could be?
@klauseba
@klauseba 9 месяцев назад
I also had issues where the color and size didn't update. Just copy everything from the github since Tailwind probably changed since 2 years ago when this video was posted.
@AMBRISHPATIL
@AMBRISHPATIL 3 года назад
Hello sir I love your teaching way. Why not start hubspot tool for web development
@hyperpakol
@hyperpakol 11 месяцев назад
Great content
@rajbannasa7662
@rajbannasa7662 Год назад
thank you so much sir
@younesmahmoud8543
@younesmahmoud8543 Год назад
Great series Thanks 🤩🤩🤩🤩🙏🙏🙏🙏
@NetNinja
@NetNinja Год назад
Thanks Younes, glad you enjoyed it!
@SephoraALAYE
@SephoraALAYE 4 месяца назад
Thanks you !!! :)
@ansarqazi4377
@ansarqazi4377 2 года назад
Pro level!
@suzannehunter6923
@suzannehunter6923 Год назад
Thanks!
7 месяцев назад
quick question, why does my page not refresh until i run the build script again?
@bruceclark2277
@bruceclark2277 2 года назад
These are great but I keep having to re-run "npm run build-css" for it to work on live server - anyone suggest why or where I can look to find out?
@masaruo
@masaruo Год назад
npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
@AllaboutMyLife485
@AllaboutMyLife485 Год назад
Same with me, i need to keep command again n again
@boksi0527
@boksi0527 Год назад
@@AllaboutMyLife485 I am quite late but you can add this in your script. "watch": "tailwindcss build src/styles.css -o public/styles.css --watch" (which shaun have already explained ) and then run the comand npm run watch.
@kashmirtechtv2948
@kashmirtechtv2948 12 дней назад
What if we want to add custom color?
@newpheeraphat5495
@newpheeraphat5495 2 года назад
Thank god, You saved me.
@sththapa416
@sththapa416 3 года назад
please make video on NUXT jS
@kibromhs7566
@kibromhs7566 Год назад
padding and margin didn't work for me
@kashmirtechtv2948
@kashmirtechtv2948 12 дней назад
How can we do global styling in tailwind?
@elgs1980
@elgs1980 3 года назад
What is the font you are using for the recipes site?
@waifufx
@waifufx 2 года назад
Nunito
@MohamedHamdy-qo2fs
@MohamedHamdy-qo2fs Год назад
for each change i make i need to rebuild the CSS why?
@Alex-xw5bc
@Alex-xw5bc 3 года назад
You should make some videos with Vue and tailwind they make a great pair
@madd5
@madd5 3 года назад
unless Tailwind can be applied to repetitive sections at once it is useless. It's just a shortcut for pure css and would be useless. Can you create your own css class which will contain several Tailwind classes?
@andrewgad6746
@andrewgad6746 3 года назад
Yes using '@apply'
@tanzimibthesam5861
@tanzimibthesam5861 3 года назад
Yup use postcss cli npm run watch .heading{ @apply size-2xl font-bold text-blue-500 } if you need help I can help you
@NetNinja
@NetNinja 3 года назад
Hey, I cover this later on using the @apply directive.
@madd5
@madd5 3 года назад
@@NetNinja got it. Thanks :)
@mahamdabdi
@mahamdabdi Год назад
yes
@aifsssm
@aifsssm 2 года назад
Alright then gang.
@inovexa4039
@inovexa4039 3 года назад
Master ur voice has changed alot..😬😬❤
@venkat1370
@venkat1370 Год назад
Can't open live server anyone pls help?
@medcherif8946
@medcherif8946 3 года назад
Thank you
@KenAdams-sn8yd
@KenAdams-sn8yd 3 месяца назад
anyone watching in 2024
@official.mhm13
@official.mhm13 3 года назад
1st
@ravi_sorathiya
@ravi_sorathiya 3 года назад
Laravel more tutorial request ninja please
@Pareshbpatel
@Pareshbpatel Месяц назад
{2024-04-18}
@EllisEnobun
@EllisEnobun 3 года назад
A linear approach would be better. Start from the top and progressively go downward. The approach of adding style randomly; at the top, then scroll down to the bottom, back to top, then the middle is very uninspiring. It's better to start with the nav, the links, logo, etc, finish with that, then move to the main, finish with that, then move on. Styling bits and pieces of the nav, main, img, back to link, it is just too uninspiring for me.
@vedanthbaliga7686
@vedanthbaliga7686 2 года назад
for a project I agree it would be a good idea. This playlist is more like a walk through and its better this way
Далее
Tailwind CSS Tutorial #5 - Tailwind Config
11:16
Просмотров 164 тыс.
Tailwind CSS Tutorial #7 - Using Flexbox
6:41
Просмотров 160 тыс.
10 Tailwind Tricks You NEED To Know!
10:45
Просмотров 263 тыс.
Css Animation Effects Tutorial  | HTML | CSS
0:53
Просмотров 638 тыс.
Tailwind CSS Tutorial #1 - Intro & Setup
13:41
Просмотров 751 тыс.
Login Form in HTML & CSS
11:07
Просмотров 1,1 млн
How to create a CSS navigation bar in 6 minutes! 🧭
6:28