Django - The Easy Way (3rd Edition) by Samuli Natri

Django - The Easy Way (3rd Edition) by Samuli Natri

Author:Samuli Natri [Samuli Natri]
Language: eng
Format: epub
Publisher: leanpub.com
Published: 2017-04-03T00:00:00+00:00


Using the rgba() functional notation we are able to make the black header container transparent without changing the opacity of the text inside it:

Sass &-content { // ... background: rgba(0, 0, 0, 0.7); // ... }

Create a new directory called images in the static directory and copy the header-bg.jpg image from the book repository data/images folder in it.

Edit the css/base.scss file and import the header.scss file:

static/css/base.scss @import "normalize"; @import "common"; @import "header"; // here



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.