Sorry, but I don’t understand as %root% always refers to the selected element ID or class - in this case .content. Maybe you can show the whole scenario?
Okay. I have a class .content with a selector in it > p:first-child called First Paragraph. I choose the selector (see img in original post), go to CSS tab and place %root% with styles:
%root% {
color: red;
}
It’s affecting the class .content, not the currently active selector .content > p:first-child. Is it possible to improve %root% to be the shorthand of .content > p:first-child in this scenario?
Probably not, but after consultation with the team, we are considering introducing a unique selector for this purpose. I have moved the thread accordingly, as it is not a bug.
We will update the thread as usual as soon as the improvement has been implemented.