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.

https://css-tricks.com/using-sass-control-scope-bem-naming/

Hi 👋
I’m Andy, a freelance web designer

I’m currently looking to book web design, training and consultancy projects from November 2019, onwards.

Hire me