How to quickly locate the source of a css rule written in BEM?
when I found a css rule in Inspector, say
.section__title{
...
}
I'd love it if I could just copy the .section__title
, and search in my code editor. One step, so fast.
However, when codebase is written in BEM, also there're many sass partials, i need to find .section
first, then drill down find &__title
. Eye strain!
What's your approach to locate a BEM rule in codebase quickly?
Thanks!