V
V
Valery Serov2016-03-08 16:16:09
BEM
Valery Serov, 2016-03-08 16:16:09

How to implement the similarity of a global class in BEM, for example, for links?

I'm typing in BEM and now I have a task to write a class for links that will be throughout the site and in the menu. Is it possible to prescribe a global class or a block that can be applied to all links or will it be necessary to write a new one for all blocks?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2016-03-08
@DrBronson

Create a class, eg `link`, and give it to all links. See how it's done on the BEM website .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question