Common css class for all items#77
Conversation
Especially in menus it's really hard to get to the character elements with only "outside" selectors, so a common selector for all would be great...
|
This isn't bad and I could see having the I can think of a couple of ways to do this without adding to the plugin: .menuItem > span { }
[class^=char] { } |
|
Hi, thanks for your reply... Usually I try to avoid wildcard or regex selectors because I'm not sure about their performance, and they are not very explicit, although I think it's not a big issue most of the time. What I mean by "hard" is when I have nested structures like menus and I want to target only second level spans, but not third level spans ... I want to write something like this: and not something like Of course that is all possible, just not very convenient... |
Especially in menus it's really hard to get to the character elements with only "outside" selectors,
so a common selector for all would be great...