Answer the question
In order to leave comments, you need to log in
How to style a completely different element when clicking on one element using Sass?
How to style a completely different element when clicking on one element using Sass? Is it possible?
Answer the question
In order to leave comments, you need to log in
Sass or Less doesn't matter here.
You need to use JS or Jquery
So that when you click on the desired element, a class is added to the element whose styles should change.
And the styles themselves are already prescribing for the class that will be added.
This is one of the options
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question