Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] SCSS 'working smarter' help Reply To: [Solved] SCSS 'working smarter' help

#165550
mcjohnst
Participant

Learn to love mixins and placeholders. They’re what allow you to DRY up your Sass / Scss wherever possible.

I forked your pen and wrote a super simple mixin at the top. There’s probably better ways of doing it / more optimizations you could make so tinker around.

Page Color Mixin Pen