O'Reilly logo

Mastering Sass by Luke Watts

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

Sticky footer, stretching, and sprites

I was torn between including the sticky-footer mixin and the mixins for stretching elements to fit their containing parent element. In the end I've decided not to include them, the reason being, they are all hacks to solve problems that have since been solved by Flexbox in much simpler and cleaner ways, especially the sticky-footer mixin, which even requires additional HTML to be included for it to work.

I'm not saying they're bad. Each of these mixins offers brilliant and useful solutions to these problems. However, Flexbox has completely removed the necessity for these mixins. For that reason I've decided not to cover the sticky footer or stretching mixins.

I also left out the spriting features in Compass ...

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