A
A
Alibek Kulseitov2019-11-15 20:33:35
css
Alibek Kulseitov, 2019-11-15 20:33:35

What do you call pictures and icons?

What do you name your icons?
There are two options:
1) ic-arrow_left.svg
2) ic_arrow_left.svg
In the first case, there is the name of the element (what is it) and then after the bottom dash a modifier (reference to BEM)
In the second, the bam disappears and there is just a division of words.
There is no right answer, everyone calls it whatever they want. I just want to hear opinions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
godsplane, 2019-11-15
@AlibekKulseitov

I usually create a folder structure for images like
:
img
-ico
--social
---1.svg
---2.svg
---3.svg
--main
---bg-top
---bg-footer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question