I have a block called 'header'. It has an element inside called 'main-logo'. The 'main-logo' has couple of child elements. So, for each of the child element, I need to manually type the element name 'main-logo' over and over again. So let me know is there any shortcut to avoid this repeating manual typing of 'main-logo' in each child element under 'main-logo' element. The code is as follows.
Bem Helper Shortcut Code:
.header>.-main-logo>.-main-logo-container>.-main-logo-link>.-main-logo-image|bem
I have a block called 'header'. It has an element inside called 'main-logo'. The 'main-logo' has couple of child elements. So, for each of the child element, I need to manually type the element name 'main-logo' over and over again. So let me know is there any shortcut to avoid this repeating manual typing of 'main-logo' in each child element under 'main-logo' element. The code is as follows.
Bem Helper Shortcut Code: .header>.-main-logo>.-main-logo-container>.-main-logo-link>.-main-logo-image|bem
Result: