Home
About
Blog
Courses
Contact
More about Django
· Module 6 - Templates and a modern frontend
6.4 A CSS framework layout and dark mode
22 min
Back to the curriculum
Video coming soon
The recording for this lesson has not been published yet.
What we cover
Navbar, grid and cards for the post list
CSS variables and a data-theme attribute
Storing the chosen theme in the session
A small view that toggles the theme
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.
← 6.3 Static files pipeline
6.5 HTMX with Django →
After this lesson you will
Build a responsive layout with Bootstrap or Tabler
Let users switch between light and dark themes
Module 6
6.1
Template inheritance done right
6.2
Custom template tags and filters
6.3
Static files pipeline
6.4
A CSS framework layout and dark mode
6.5
HTMX with Django