You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I totally get the point of the BEM naming convention, it's hugely useful to see how elements relate to each other.
What's unclear to me is why some objects who extends others doesn't repeat their ancestor name.
For exemple, the pagination object extends the nav object. If i remove the nav class, it breaks. Would it make sense to rename it .nav--pagination or i am missing something?
The text was updated successfully, but these errors were encountered:
Not really an issue, more a question.
I totally get the point of the BEM naming convention, it's hugely useful to see how elements relate to each other.
What's unclear to me is why some objects who extends others doesn't repeat their ancestor name.
For exemple, the pagination object extends the nav object. If i remove the nav class, it breaks. Would it make sense to rename it .nav--pagination or i am missing something?
The text was updated successfully, but these errors were encountered: