Using Sass to Control Scope With BEM Naming

I’ve just had to use this myself, so I thought I’d share it with y’all again.

I have this system of creating a pointer for & with Sass in a $self variable which makes dealing with scope easier in more fiddly components.

Hi 👋
I’m Andy, a freelance web designer

I’m not currently booking new projects, but you can support my work by buying “Every Layout”.

Buy Every Layout