Django & TailwindCSS! Learn how to integrate and create a basic starter project.

CodingEntrepreneurs February 9, 2023
Video Thumbnail
CodingEntrepreneurs Logo

CodingEntrepreneurs

@codingentrepreneurs

About

Learn, Build, and Earn. Coding Entrepreneurs is here to help you learn the skills you need to build the projects you want. Learn by doing everything we do step-by-step. Practical and hands-on. Let's do this. 💽 Code: https://github.com/codingforentrepreneurs 🚀 Enroll. Learn to code. Launch your project: https://cfe.sh/enroll 🚀

Video Description

Learn how to integrate Tailwind CSS into your Django projects. Tailwind is a paradigm shift for how you'll use CSS in your all of your web applications and Django projects. Instead of using classes like `btn-primary` you'll use a list of more robust classes to describe how you want your element to render. Such as: `bg-blue-500` (the background color) `text-white` (the text color) `rounded-lg `The border radius `hover:bg-blue-800` The background color when someone hovers on this element `px-5` The horizontal padding on the left or the right of the contents And so much more. Writing CSS classes like this is almost too verbose since it seems to violate DRY but it does not. Instead, this verboseness unlocks a clarity in how you document your CSS classes and how things are rendered. It took me a long time to adopt Tailwind because of this verboseness but once I did, I have never looked back. Tailwind is incredible. In this course, we will learn how to setup Django project to leverage Tailwind.css from scratch. **Links and Resources** Code: https://github.com/codingforentrepreneurs/django-tailwindcss/ Live Demo: https://django-tailwindcss.demo.cfe.sh/ Ad-free course: https://www.codingforentrepreneurs.com/courses/django-x-tailwindcss/ **Chapters** 00:00:00 Welcome 00:03:04 Tools and Requirements 00:07:31 Configure Project Virtual Environment 00:12:37 Install Django & Create Project 00:17:21 Configure Django Static Files 00:24:23 Django Templates and Home View 00:28:58 Initialize Tailwind CSS 00:35:38 The Magic of Tailwind 00:41:01 Colors and Tailwind 00:51:01 Thank you and next steps

You May Also Like

Web Developer's Starter Kit

AI-recommended products based on this video

Loading...
Cervical Neck Pillow, Ergonomic Memory Foam Pillows for Neck Pain Relief with Breathable Pillowcase, Contour Neck Support Pillow for Side Back Stomach Sleepers, Odorless OEKO-TEX STANDARD 100

Cervical Neck Pillow, Ergonomic Memory Foam Pillows for Neck Pain Relief with Breathable Pillowcase, Contour Neck Support Pillow for Side Back Stomach Sleepers, Odorless OEKO-TEX STANDARD 100

(1,779)
$55.97$47.57
FREE delivery Thu, Mar 12
5K+ bought in past month
Loading...
Wireless Earbuds Bluetooth 5.4 Headphones, 50H Playtime Stereo Earphones with ENC Noise Cancelling, IPX7 Waterproof Open Ear Buds with Ergonomic Earhook for Fitness/Sports/Workouts Black

Wireless Earbuds Bluetooth 5.4 Headphones, 50H Playtime Stereo Earphones with ENC Noise Cancelling, IPX7 Waterproof Open Ear Buds with Ergonomic Earhook for Fitness/Sports/Workouts Black

(182)
$39.99
Prime
Loading...
AstroAI 27" Snow Brush and Detachable Ice Scraper with Ergonomic Foam Grip for Cars, Trucks, SUVs (Heavy Duty ABS, PVC Brush, Orange)

AstroAI 27" Snow Brush and Detachable Ice Scraper with Ergonomic Foam Grip for Cars, Trucks, SUVs (Heavy Duty ABS, PVC Brush, Orange)

(33,617)
$16.99
FREE delivery Sat, Jan 3 on your first order
3K+ bought in past month
Loading...
Viral World-Famous 5x Sold Out Paddle Brush, Wet Miracle Brush for Women Fine Hair, Paddle Brush for Thick Hair-Smoother, Stronger, Shinier Hair, Anti-Static, Lightweight, and Ergonomic Design (W*2)

Viral World-Famous 5x Sold Out Paddle Brush, Wet Miracle Brush for Women Fine Hair, Paddle Brush for Thick Hair-Smoother, Stronger, Shinier Hair, Anti-Static, Lightweight, and Ergonomic Design (W*2)

(0)
$35.99
$6.99 delivery Jan 16 - Feb 5
Loading...
Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

(8)
$39.99
FREE delivery Tue, Nov 4
Loading...
Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

(40)
$39.99
FREE delivery Thu, Nov 13
Loading...
30 Pack Multicolor Pen in One Easter Party Favors 6-in-1 Fun Pens 6 Colors Cute Pens Easter Classroom Gifts Retractable Ballpoint Pen for Birthday Gifts, Student Rewards, Class Prizes

30 Pack Multicolor Pen in One Easter Party Favors 6-in-1 Fun Pens 6 Colors Cute Pens Easter Classroom Gifts Retractable Ballpoint Pen for Birthday Gifts, Student Rewards, Class Prizes

(21)
$25.99
FREE delivery Mon, Feb 16 on your first order
Loading...
Zhanmai Open When Envelopes for College Student, Going Away to College Gifts University Gift Card Book, High School Care Package, Birthday Cash Card Holder for Daughter Son Friends Gift(Pastel)

Zhanmai Open When Envelopes for College Student, Going Away to College Gifts University Gift Card Book, High School Care Package, Birthday Cash Card Holder for Daughter Son Friends Gift(Pastel)

(150)
$37.72
FREE delivery Feb 17 - 19