Parallax Background Image Block for Wagtail’s StreamField

Another custom block idea for Streamfield, to go with the ones described in a previous post I will also refer to some code in the previous post too, to save repeating code here. This block definition and block template allow you to add a column with a background image in the parallax style and allows …

Continue reading Parallax Background Image Block for Wagtail’s StreamField

Advertisements

SASS and Less for CSS pre-processing.

I've been looking into CSS pre-processing this week and have checked out both Less and SASS. I kind of liked Less but after using SASS I felt it was a lot simpler and straightforward. Basically start with a .scss file where you can use variables, mixins and nesting, similar to Less then compile that into a …

Continue reading SASS and Less for CSS pre-processing.