O'Reilly logo

Django Unleashed by Andrew Pinkham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

16.4 Integrating Real CSS Content

We have a site-wide stylesheet, and we’re correctly linking to it. This is a great start, but it’s the tip of the iceberg in terms of real work. Modern websites need fairly complicated CSS, and (unless you’re an expert) it’s best to use a CSS framework to start off a new site.

Code Repository

To see all of the changes made here, you can view the code at commit 2eee3d5cd6. To see the visual changes to the website, navigate to https://site.django-unleashed.com/2eee3d5cd6.

I tend to prefer lightweight, mobile-friendly frameworks and will opt on this website to use the Skeleton CSS framework1 with the CSS normalize stylesheet.2 I add both of these to static/site/skeleton.css and static/site/normalize.css. I use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required