Forums

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

Home Forums CSS Sass Ampersand – Chaining CSS Class as Parent Reply To: Sass Ampersand – Chaining CSS Class as Parent

#250862
Kushal Jayswal
Participant

Thanks @Paulie_D. I appreciate your advice.

But this can be the case where CMS (i.e.: Drupal, Liferay, etc.) comes in a picture for theme integration and you infect realize no control over the HTML structure :).

For such scenario, there is no other option than following deeper hierarchical structure (to get CSS specificity) for overriding purpose and to avoid !important as well.