Answer the question
In order to leave comments, you need to log in
Aria-expanded="true" how to use in LESS?
Good afternoon to all makers!
I'm laying out an accordion using LESS and I want to change the attribute property (Aria-expanded from "false" to "true") in the button's styles to trigger a certain rule.
In vanilla it would look like this:
li{
&.tree-parent{
&:[aria-expanded="true"] {
background: url('some-image.gif');
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question