there are two sibling elements An and B (the checkbox button implemented by svg) in svg, where the opacity attribute value in An is 1 and the opacity in B is 0.5. Want to fill and stroke different colors according to the change of opacity when the two elements switch between clicks.
I don"t have a good idea after flipping through less documents. Do you have any good style rewriting ideas? orz